From a75a6068b5e9f36bd01a0c959455d230f61085ad Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2026 05:29:10 +0000 Subject: [PATCH 1/6] Update agp to v9.4.0 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b665d057efe..73a1c19cb3b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "9.3.2" +agp = "9.4.0" androidx-cameraView = "1.6.2" androidx-camera = "1.6.2" From 3dec77206b7c401b694245921d0ec29233fea12a Mon Sep 17 00:00:00 2001 From: sagarwal Date: Thu, 3 Sep 2026 11:46:56 +0530 Subject: [PATCH 2/6] Update CHANGELOG --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3db8ea96cb9..103c7623373 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## Next Release + +### Internal + +- Bump AGP to v9.4.0 + ## 2026.09.03 ### Internal From e120ba8d0c71fed136677106ff0e1d99affd6d60 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2026 09:27:58 +0000 Subject: [PATCH 3/6] Update agp to v9.4.0 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b665d057efe..73a1c19cb3b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "9.3.2" +agp = "9.4.0" androidx-cameraView = "1.6.2" androidx-camera = "1.6.2" From 89d6c8a16413a66659aaaf97aa23175590c3fb67 Mon Sep 17 00:00:00 2001 From: sagarwal Date: Thu, 3 Sep 2026 15:00:52 +0530 Subject: [PATCH 4/6] Enable R8 obfuscation for production builds --- CHANGELOG.md | 4 +++- app/proguard-rules.pro | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 103c7623373..5d679996d77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ ### Internal -- Bump AGP to v9.4.0 +- Bump AGP to v9.4.0 +- Enabled R8 obfuscation for production builds to improve application code protection. +- Preserved generated Room DAO class names to maintain SQL performance monitoring functionality. ## 2026.09.03 diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 4eaaa5c6416..69b3046abf9 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,8 +1,8 @@ -# No obfuscation because open source -# We depend on the convention of generated DAO names by Room in order to support performance profiling. -# If you decide to obfuscate the final APK, please verify the performance profiling tool continues to function. +# We obfuscate the final APK while keeping generated Room DAO names unchanged. +# We depend on the convention of generated DAO names by Room to support performance profiling. +# If you modify this rule, please verify that the performance profiling tool continues to function. # See: https://github.com/simpledotorg/simple-android/issues/2470 --dontobfuscate +-keepnames class **_RoomDao_Impl # We process generated Room DAO metadata and use a runtime exception for performance profiling. # If you remove this, please ensure that the profiling does not break. From 4d64c5cb2dc39879e473f895c2739ba8fe8943b7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2026 09:50:34 +0000 Subject: [PATCH 5/6] Update agp to v9.4.0 (#5913) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [com.android.lint](https://developer.android.com/studio/build) ([source](https://android.googlesource.com/platform/tools/base)) | `9.3.2` → `9.4.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.lint:com.android.lint.gradle.plugin/9.4.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.lint:com.android.lint.gradle.plugin/9.3.2/9.4.0?slim=true) | | [com.android.library](https://developer.android.com/studio/build) ([source](https://android.googlesource.com/platform/tools/base)) | `9.3.2` → `9.4.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.library:com.android.library.gradle.plugin/9.4.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.library:com.android.library.gradle.plugin/9.3.2/9.4.0?slim=true) | | [com.android.application](https://developer.android.com/studio/build) ([source](https://android.googlesource.com/platform/tools/base)) | `9.3.2` → `9.4.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.android.application:com.android.application.gradle.plugin/9.4.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.android.application:com.android.application.gradle.plugin/9.3.2/9.4.0?slim=true) | --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/simpledotorg/simple-android). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: sagarwal --- CHANGELOG.md | 6 ++++++ gradle/libs.versions.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3db8ea96cb9..103c7623373 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## Next Release + +### Internal + +- Bump AGP to v9.4.0 + ## 2026.09.03 ### Internal diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b665d057efe..73a1c19cb3b 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "9.3.2" +agp = "9.4.0" androidx-cameraView = "1.6.2" androidx-camera = "1.6.2" From 696e2db732dda38c4e7092f7b872f456467bdc16 Mon Sep 17 00:00:00 2001 From: sagarwal Date: Thu, 3 Sep 2026 15:00:52 +0530 Subject: [PATCH 6/6] Enable R8 obfuscation for production builds --- CHANGELOG.md | 4 +++- app/proguard-rules.pro | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 103c7623373..5d679996d77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ ### Internal -- Bump AGP to v9.4.0 +- Bump AGP to v9.4.0 +- Enabled R8 obfuscation for production builds to improve application code protection. +- Preserved generated Room DAO class names to maintain SQL performance monitoring functionality. ## 2026.09.03 diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 4eaaa5c6416..69b3046abf9 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,8 +1,8 @@ -# No obfuscation because open source -# We depend on the convention of generated DAO names by Room in order to support performance profiling. -# If you decide to obfuscate the final APK, please verify the performance profiling tool continues to function. +# We obfuscate the final APK while keeping generated Room DAO names unchanged. +# We depend on the convention of generated DAO names by Room to support performance profiling. +# If you modify this rule, please verify that the performance profiling tool continues to function. # See: https://github.com/simpledotorg/simple-android/issues/2470 --dontobfuscate +-keepnames class **_RoomDao_Impl # We process generated Room DAO metadata and use a runtime exception for performance profiling. # If you remove this, please ensure that the profiling does not break.