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.
- Updated the Gradle wrapper version from 6.5 to 7.2 to leverage the latest features and improvements.
- Enhanced the Unix `gradlew` script for better POSIX compliance and included a detailed license header.
- Added memory options (`-Xmx64m`, `-Xms64m`) as default JVM options for `gradlew`.
- Changed the Windows `gradlew.bat` script to resolve path issues and include a license header.
- Improved file descriptor handling and argument passing for better reliability.
These changes ensure compatibility with newer Gradle features, improve script reliability, and align with licensing requirements.
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>