abouttreesummaryrefslogcommitdiff
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorJules Aguillon2021-05-09 00:56:59 +0200
committerJules Aguillon2021-05-09 00:56:59 +0200
commit68945ff2271fafc14aec9740c45c22e23bd433de (patch)
tree1f471101fb7f6f374051b9f3ba446a16f26ffc33 /AndroidManifest.xml
parent5e01198500e92650fb9fb5e73a4a86e9808e14d2 (diff)
downloadunexpected-keyboard-68945ff2271fafc14aec9740c45c22e23bd433de.tar.gz
unexpected-keyboard-68945ff2271fafc14aec9740c45c22e23bd433de.zip
Restore support for Android < 12, set minimal version to 4
API level 12 is required for "subtype" code introduced in 1.7. This adds a fallback for older version, "subtype" features are not available but the keyboard is usable. Changet he minimal version to 4 to be able to query the API level. Using integer constant for versions because that's how it's presented in the documentation. Build.VERSION_CODES is WTF.
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index e3881df..fa4bf3f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -5,7 +5,7 @@
android:versionName="1.8"
android:hardwareAccelerated="false">
- <uses-sdk android:minSdkVersion="3"
+ <uses-sdk android:minSdkVersion="4"
android:targetSdkVersion="29" />
<application android:label="@string/app_name"