diff options
| author | Jules Aguillon | 2024-12-29 00:27:44 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2024-12-29 00:27:44 +0100 |
| commit | a9b78923c0c3e7dbe3f590c46fff387a6b0fbc26 (patch) | |
| tree | 1141132f96c8d3670c868cbf7ee169065a125850 | |
| parent | d9b5b36c27ff99f430d17756fe6f5a1537447d3b (diff) | |
| download | unexpected-keyboard-a9b78923c0c3e7dbe3f590c46fff387a6b0fbc26.tar.gz unexpected-keyboard-a9b78923c0c3e7dbe3f590c46fff387a6b0fbc26.zip | |
Drop support for Android 3 and 4
Support for Android 4 was broken for several releases and no one
noticed. The lowest supported version is now Android 5.
| -rw-r--r-- | build.gradle | 2 | ||||
| -rw-r--r-- | shell.nix | 13 |
2 files changed, 7 insertions, 8 deletions
diff --git a/build.gradle b/build.gradle index 33c5017..1e94416 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ android { defaultConfig { applicationId "juloo.keyboard2" - minSdk 11 + minSdk 21 targetSdkVersion 35 versionCode 44 versionName "1.30.1" @@ -22,14 +22,11 @@ let }; emulators = let - mk_emulator = { platformVersion, device ? "pixel_6" }: + mk_emulator = { platformVersion, device ? "pixel_6", abiVersion ? "x86_64", systemImageType ? "default" }: pkgs.androidenv.emulateApp rec { name = "emulator_api${platformVersion}"; - inherit platformVersion; - abiVersion = "x86_64"; + inherit platformVersion abiVersion systemImageType; androidAvdFlags = "--device ${device}"; - # There's no 'default' image for Android 15 - systemImageType = "google_apis"; sdkExtraArgs = { inherit repoJson; }; }; # Allow to install several emulators in the same environment @@ -38,8 +35,10 @@ let path = "${mk_emulator args}/bin/run-test-emulator"; }; in pkgs.linkFarm "emulator" [ - (link_emulator "14" { platformVersion = "34"; }) - (link_emulator "15" { platformVersion = "35"; }) + (link_emulator "5" { platformVersion = "21"; }) + # (link_emulator "14" { platformVersion = "34"; }) + # There's no 'default' image for Android 15 + (link_emulator "15" { platformVersion = "35"; systemImageType = "google_apis"; }) ]; ANDROID_SDK_ROOT = "${android.androidsdk}/libexec/android-sdk"; |
