Corrected the preference change handling logic by fixing spacing
issues and updating the use of `Snackbar` to target the correct
view. Enhanced readability by addressing minor formatting
inconsistencies. These changes improve code clarity and maintain
correct functionality of encryption and backup service settings.
Unified onClick button handling logic in Preference classes by
replacing switch-case statements with if-else conditions. This
improves readability and maintains consistency across the codebase.
No functional changes intended.
Changed the applicationId from "org.shadowice.flocke.andotp" to "codes.kumi.andotp" to reflect the new branding and ownership. This may impact existing users with saved data and configurations. Ensure proper migration strategies are followed.
Set `android:exported="true"` for MainActivity, PanicResponderActivity, PlainTextBackupBroadcastReceiver, and EncryptedBackupBroadcastReceiver to address changes in Android 12 requirements.
Ensures components can be launched by the system or other applications, making the app compatible with Android 12's stricter component exporting rules.
Align compileSdkVersion with targetSdkVersion 33. This ensures compatibility with the latest Android features and optimizations. No breaking changes anticipated.
Upgraded target SDK version to 33 and updated app version to 0.9.1.0 with version code 24091700 in line with new release standards. Replaced 'jcenter' with 'mavenCentral' and added an additional Maven repository. Resolves potential build issues due to jcenter shutdown and ensures compatibility with latest Android features.
Upgraded Gradle plugin to version 8.1.0 and updated the wrapper to use Gradle 8.0. Updated build settings to modern standards, including non-final resource IDs and non-transitive R class. Moved lintOptions block to the proper lint configuration block in build.gradle. Removed the redundant package attribute from the AndroidManifest.xml since it's now defined in the namespace block.
These updates address compatibility issues and take advantage of new features and performance improvements provided by the latest Gradle version.
This is just a workaround, in the long run we should avoid handling configuration changes on our own and properly recreate the activity instead.
Fixes#592
The Activity#setContentView(int) in CaptureActivity#initializeContent() of super class needs to be called
before getInsetsController(), otherwise NPE will be thrown because the top-level view of
the current Window, containing the window decor, is not yet initialized.
FIXE #806
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>