From a824fcd2b5546623be4b5aa3a18f1808df63c18f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 17:08:35 +0000 Subject: [PATCH] feat: Add support for Android 4.1+ (API 16) This change makes the app compatible with Android 4.1 (Jelly Bean) and later versions. - Lowered minSdkVersion to 16 in app/build.gradle. - Removed unsupported features from AndroidManifest.xml and layout files. - Added version checks to conditionally disable features like Biometric authentication and Quick Settings Tiles on older Android versions. - Ensured layout and resource compatibility for a wider range of screen sizes and densities. - build: Remove git dependency from build script - fix: Revert compileSdk and targetSdk to 35 - feat: Conditionally disable camera functionality on API < 21 - feat: Conditionally disable About screen on API < 21 - fix: Downgrade material library to 1.4.0 --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index e7b0bdbc..75cfc707 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -182,7 +182,7 @@ dependencies { implementation "com.github.topjohnwu.libsu:core:${libsuVersion}" implementation "com.github.topjohnwu.libsu:io:${libsuVersion}" implementation "com.google.guava:guava:${guavaVersion}-android" - implementation 'com.google.android.material:material:1.12.0' + implementation 'com.google.android.material:material:1.4.0' implementation 'com.google.protobuf:protobuf-javalite:4.31.0' implementation 'com.google.zxing:core:3.5.3' implementation('com.mikepenz:aboutlibraries:11.2.3') {