summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/AndroidManifest.xml2
-rw-r--r--app/src/main/java/app/passwordstore/Application.kt2
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()
}