feat(build): target API 34

This commit is contained in:
Harsh Shandilya 2023-07-12 15:33:59 +05:30
parent ae9f56e965
commit bfd51efca4
No known key found for this signature in database
3 changed files with 5 additions and 3 deletions

View file

@ -105,10 +105,12 @@
<service <service
android:name=".util.services.ClipboardService" android:name=".util.services.ClipboardService"
android:exported="false" android:exported="false"
android:foregroundServiceType="shortService"
android:process=":clipboard_service_process" /> android:process=":clipboard_service_process" />
<service <service
android:name=".util.services.PasswordExportService" android:name=".util.services.PasswordExportService"
android:exported="false" android:exported="false"
android:foregroundServiceType="shortService"
android:process=":password_export_service_process" /> android:process=":password_export_service_process" />
<service <service
android:name=".util.services.OreoAutofillService" android:name=".util.services.OreoAutofillService"

View file

@ -81,7 +81,7 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere
super.onTerminate() super.onTerminate()
} }
override fun onSharedPreferenceChanged(prefs: SharedPreferences, key: String) { override fun onSharedPreferenceChanged(prefs: SharedPreferences, key: String?) {
if (key == PreferenceKeys.APP_THEME) { if (key == PreferenceKeys.APP_THEME) {
setNightMode() setNightMode()
} }

View file

@ -16,10 +16,10 @@ import org.gradle.kotlin.dsl.withType
object AndroidCommon { object AndroidCommon {
fun configure(project: Project) { fun configure(project: Project) {
project.extensions.configure<TestedExtension> { project.extensions.configure<TestedExtension> {
setCompileSdkVersion(33) compileSdkVersion(34)
defaultConfig { defaultConfig {
minSdk = 26 minSdk = 26
targetSdk = 33 targetSdk = 34
} }
packagingOptions { packagingOptions {