Fixed issue with crash when rotating screen - Fixes #142

This commit is contained in:
Graham Jones
2024-02-02 15:06:23 +00:00
parent 1be6e51406
commit 69175131e2
3 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:versionCode="133" android:versionCode="135"
android:versionName="4.2.1r"> android:versionName="4.2.1">
<!-- android:allowBackup="false" --> <!-- android:allowBackup="false" -->
<uses-permission android:name="android.permission.BLUETOOTH" /> <uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

View File

@@ -240,9 +240,9 @@ public class FragmentCommon extends FragmentOsdBaseClass {
} }
} }
} else { } else {
acceptAlarmButton.setText(getString(R.string.AcceptAlarm)); // acceptAlarmButton.setText(getString(R.string.AcceptAlarm));
acceptAlarmButton.setBackgroundColor(Color.DKGRAY); // acceptAlarmButton.setBackgroundColor(Color.DKGRAY);
acceptAlarmButton.setEnabled(false); // acceptAlarmButton.setEnabled(false);
} }
// Deal with Cancel Audible button // Deal with Cancel Audible button