diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-07-12 15:33:59 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-07-12 16:22:27 +0530 |
commit | bfd51efca44c0ed565e9cf45bd64a3f0de3385ed (patch) | |
tree | 44fcb8df51474ec8798366c9701131510ac54e2e /app/src | |
parent | ae9f56e9657ca55ef6c1bc541950dc9b91495f79 (diff) |
feat(build): target API 34
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 2 | ||||
-rw-r--r-- | app/src/main/java/app/passwordstore/Application.kt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 19bd6845..0c76d6bf 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -105,10 +105,12 @@ <service android:name=".util.services.ClipboardService" android:exported="false" + android:foregroundServiceType="shortService" android:process=":clipboard_service_process" /> <service android:name=".util.services.PasswordExportService" android:exported="false" + android:foregroundServiceType="shortService" android:process=":password_export_service_process" /> <service android:name=".util.services.OreoAutofillService" diff --git a/app/src/main/java/app/passwordstore/Application.kt b/app/src/main/java/app/passwordstore/Application.kt index 45bdc5e6..9c7fe39a 100644 --- a/app/src/main/java/app/passwordstore/Application.kt +++ b/app/src/main/java/app/passwordstore/Application.kt @@ -81,7 +81,7 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere super.onTerminate() } - override fun onSharedPreferenceChanged(prefs: SharedPreferences, key: String) { + override fun onSharedPreferenceChanged(prefs: SharedPreferences, key: String?) { if (key == PreferenceKeys.APP_THEME) { setNightMode() } |