diff --git a/app/src/main/java/com/jens/automation2/ActivityManageTriggerBluetooth.java b/app/src/main/java/com/jens/automation2/ActivityManageTriggerBluetooth.java index 8db0957..b19eb32 100644 --- a/app/src/main/java/com/jens/automation2/ActivityManageTriggerBluetooth.java +++ b/app/src/main/java/com/jens/automation2/ActivityManageTriggerBluetooth.java @@ -84,7 +84,7 @@ public class ActivityManageTriggerBluetooth extends Activity else refreshBluetoothDeviceSpinner(); - spinnerBluetoothDevices.setEnabled(false); + spinnerBluetoothDevices.setEnabled(false); if(editedBluetoothTrigger.getBluetoothDeviceAddress() != null && editedBluetoothTrigger.getBluetoothDeviceAddress().length() > 0) loadVariableIntoGui(); diff --git a/app/src/main/java/com/jens/automation2/Miscellaneous.java b/app/src/main/java/com/jens/automation2/Miscellaneous.java index 309b966..8e509e4 100644 --- a/app/src/main/java/com/jens/automation2/Miscellaneous.java +++ b/app/src/main/java/com/jens/automation2/Miscellaneous.java @@ -199,7 +199,7 @@ public class Miscellaneous extends Service // Add http simple authentication if specified if (username != null && password != null) { - String encodedCredentials = Base64.encodeToString(new String(username + ":" + password).getBytes(), Base64.DEFAULT); + String encodedCredentials = Base64.encodeToString(new String(username + ":" + password).getBytes(), Base64.NO_WRAP); connection.setRequestMethod("POST"); connection.setDoOutput(true); connection.setRequestProperty("Authorization", "Basic " + encodedCredentials); diff --git a/fastlane/metadata/android/en-US/changelogs/150.txt b/fastlane/metadata/android/en-US/changelogs/150.txt index 6c85c2c..f0eef41 100644 --- a/fastlane/metadata/android/en-US/changelogs/150.txt +++ b/fastlane/metadata/android/en-US/changelogs/150.txt @@ -4,4 +4,5 @@ * Added: Stop service as action * Fixed: Crash when starting to add/edit a triggerURL action while the app or the system are set to the German language * Fixed: Crash when starting service in Google Play version -* Fixed: Bluetooth permission was not correct requested when editing a bluetooth device trigger \ No newline at end of file +* Fixed: Bluetooth permission was not correct requested when editing a bluetooth device trigger +* Fixed: Bug in triggerURL when long passwords were used \ No newline at end of file