diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-17 18:44:05 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-17 19:01:37 +0200 |
commit | 98efb4f6d518765af5a9f9d86fffc33a94056fdb (patch) | |
tree | 3ba3981c80f85ec72cf0c283a1194b0e91404de6 /android | |
parent | 36edb4886c371b90bdc27eed305f112196dfb765 (diff) |
android: raise minSdkVersion to 21
The number of MPD installs on Android < 5.0 is negligible, and that
API version introduces lots of useful features for MPD.
Diffstat (limited to 'android')
-rw-r--r-- | android/AndroidManifest.xml | 2 | ||||
-rwxr-xr-x | android/build.py | 2 | ||||
-rw-r--r-- | android/src/Main.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 09536d9c1..b6abd1124 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -5,7 +5,7 @@ android:versionCode="20" android:versionName="0.20.21"> - <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17"/> + <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21"/> <application android:icon="@drawable/icon" android:label="@string/app_name"> <activity android:name=".Main" diff --git a/android/build.py b/android/build.py index 33f08151e..2b29a3fcd 100755 --- a/android/build.py +++ b/android/build.py @@ -65,7 +65,7 @@ class AndroidNdkToolchain: self.build_path = build_path ndk_arch = abi_info['ndk_arch'] - android_api_level = '14' + android_api_level = '21' ndk_platform = 'android-' + android_api_level # select the NDK compiler diff --git a/android/src/Main.java b/android/src/Main.java index 933524398..da64a1976 100644 --- a/android/src/Main.java +++ b/android/src/Main.java @@ -49,7 +49,7 @@ public class Main extends Activity implements Runnable { TextView tv = new TextView(this); tv.setText("Failed to load the native MPD libary.\n" + "Report this problem to us, and include the following information:\n" + - "ABI=" + Build.CPU_ABI + "\n" + + "SUPPORTED_ABIS=" + String.join(", ", Build.SUPPORTED_ABIS) + "\n" + "PRODUCT=" + Build.PRODUCT + "\n" + "FINGERPRINT=" + Build.FINGERPRINT + "\n" + "error=" + Loader.error); |