diff --git a/app/build.gradle b/app/build.gradle
index 09a6f54c..41c5dcd6 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -9,7 +9,7 @@ android {
defaultConfig {
applicationId "xtr.keymapper"
minSdk 28
- targetSdk 33
+ targetSdk 34
versionCode 11
versionName '2.1.1'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index eef1d669..9ded9406 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -4,9 +4,11 @@
+
+
@@ -49,7 +51,8 @@
+ android:enabled="true"
+ android:foregroundServiceType="specialUse"/>
= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
+ startForeground(2, notification, FOREGROUND_SERVICE_TYPE_SPECIAL_USE);
+ } else {
+ startForeground(2, notification);
+ }
if (cursorView == null) showCursor();