abouttreesummaryrefslogcommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJules Aguillon2024-02-10 18:03:09 +0100
committerJules Aguillon2024-02-10 18:10:49 +0100
commitf4d88cc0876ec29ff46dbda0159168ebee637afb (patch)
tree72c96a25e03f187307c1e738ca4aeb990ce3ba85 /AndroidManifest.xml
parentd5676d683f031a2d23f4e01e0ada0afd58dc9b89 (diff)
downloadunexpected-keyboard-f4d88cc0876ec29ff46dbda0159168ebee637afb.tar.gz
unexpected-keyboard-f4d88cc0876ec29ff46dbda0159168ebee637afb.zip
Fix various linter warnings
Among others: - Use `apply` instead of `commit` when saving shared preferences. - Avoid inlined Api - Remove unused resources
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 7cdbcda..a76585c 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:hardwareAccelerated="false">
+ <uses-permission android:name="android.permission.VIBRATE"/>
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
+
<application android:label="@string/app_name" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:hardwareAccelerated="false">
<service android:name="juloo.keyboard2.Keyboard2" android:label="@string/app_name" android:permission="android.permission.BIND_INPUT_METHOD" android:exported="true" android:directBootAware="true">
<intent-filter>
@@ -12,15 +15,13 @@
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
- <activity android:name="juloo.keyboard2.LauncherActivity" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/appTheme" android:exported="true" android:directBootAware="true">
+ <activity android:name="juloo.keyboard2.LauncherActivity" android:icon="@mipmap/ic_launcher" android:theme="@style/appTheme" android:exported="true" android:directBootAware="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
- <uses-permission android:name="android.permission.VIBRATE"/>
- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<!-- To query enabled input methods for voice IME detection -->
<queries>