aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/boot-emulator.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-05 12:05:44 +0100
committerDanilo M. <danix@danix.xyz>2026-11-05 12:10:18 +0100
commitc85e7c8801caf7a73b46dda9ebf75be023cad9b4 (patch)
treec180a57fd54e9b09e84297f9fc51670bf5f4bfab /scripts/boot-emulator.sh
parent73486a180ba3ead1890924920094e7e678a8ef76 (diff)
downloadHardenedPass-c85e7c8801caf7a73b46dda9ebf75be023cad9b4.tar.gz
HardenedPass-c85e7c8801caf7a73b46dda9ebf75be023cad9b4.zip
build: raise minSdk to 31
The project targets GrapheneOS, which only runs current Android. Android 12 gives the platform night mode API and removes the fingerprint dialog path that needs AppCompat. Devices below it stay on 0.2.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/boot-emulator.sh')
-rwxr-xr-xscripts/boot-emulator.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/boot-emulator.sh b/scripts/boot-emulator.sh
index 910340f1..92a053f9 100755
--- a/scripts/boot-emulator.sh
+++ b/scripts/boot-emulator.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# Creates and boots a display-less emulator (defaulting to Android 8.1, our min SDK)
+# Creates and boots a display-less emulator (defaulting to Android 12, our min SDK)
set -euo pipefail
@@ -9,8 +9,8 @@ set -euo pipefail
exit 1
}
-[ -n "${ANDROID_API_LEVEL:-}" ] || { echo "ANDROID_API_LEVEL not defined; defaulting to 26"; }
-API_LEVEL="${ANDROID_API_LEVEL:-26}"
+[ -n "${ANDROID_API_LEVEL:-}" ] || { echo "ANDROID_API_LEVEL not defined; defaulting to 31"; }
+API_LEVEL="${ANDROID_API_LEVEL:-31}"
ARCH="x86_64"
if [[ "$(uname -m)" == "arm64" && "$(uname)" == "Darwin" ]]; then