diff options
| author | Danilo M. <danix@danix.xyz> | 2026-11-02 10:49:33 +0100 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-11-02 10:49:33 +0100 |
| commit | 9eec620a4d95c4e3217f0868af0fc7f7bada5c91 (patch) | |
| tree | 3ac94b2d9408830caaefdbaa4b71bd40f68cfe8a /app/src/main | |
| parent | d4d155d98418bfc6780fc03f8dddabf363144a8f (diff) | |
| download | HardenedPass-9eec620a4d95c4e3217f0868af0fc7f7bada5c91.tar.gz HardenedPass-9eec620a4d95c4e3217f0868af0fc7f7bada5c91.zip | |
build: update to Gradle 8.14.6, AGP 8.13.2, Kotlin 2.1.21, Hilt 2.58
Newest releases that still fit together on the Gradle 8 / AGP 8 line:
- Kotlin stops at 2.1, the newest metadata Gradle 8's embedded Kotlin
2.0 compiler can read when compiling build-logic.
- Hilt stops at 2.58; 2.59 and later require AGP 9. Hilt 2.52's
annotation processor could not read Kotlin 2.1 metadata.
Drop the languageVersion = 1.9 pin so code compiles with the K2
frontend; Kotlin 2.4 no longer accepts 1.9. Drop the R8 8.5.35 pin and
its repository, which is older than the R8 AGP 8.13 bundles. Move the
deprecated buildFeatures.androidResources flag to
androidResources.enable, and replace Uri.parse with toUri for the new
UseKtx lint check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'app/src/main')
| -rw-r--r-- | app/src/main/java/app/passwordstore/ui/settings/AutofillSettings.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/settings/AutofillSettings.kt b/app/src/main/java/app/passwordstore/ui/settings/AutofillSettings.kt index ae00e1d1..afb2a691 100644 --- a/app/src/main/java/app/passwordstore/ui/settings/AutofillSettings.kt +++ b/app/src/main/java/app/passwordstore/ui/settings/AutofillSettings.kt @@ -7,9 +7,9 @@ package app.passwordstore.ui.settings import android.annotation.SuppressLint import android.content.Intent -import android.net.Uri import android.provider.Settings import androidx.appcompat.widget.AppCompatTextView +import androidx.core.net.toUri import androidx.fragment.app.FragmentActivity import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleEventObserver @@ -73,7 +73,7 @@ class AutofillSettings(private val activity: FragmentActivity) : SettingsProvide setPositiveButton(R.string.dialog_ok) { _, _ -> val intent = Intent(Settings.ACTION_REQUEST_SET_AUTOFILL_SERVICE).apply { - data = Uri.parse("package:${BuildConfig.APPLICATION_ID}") + data = "package:${BuildConfig.APPLICATION_ID}".toUri() } activity.startActivity(intent) } |
