Android device verification: forced landscape, fullscreen, data layering

- Ava2Activity passes the "args" intent extra as the command line
  (build.sh forwards AVA2_ARGS); it also always requests sensor landscape.
- app_loop sets SDL_HINT_ORIENTATIONS to landscape and creates the window
  fullscreen on Android/iOS (SDL requested FULL_USER for the resizable
  window, overriding the manifest; the status bar drew over the HUD).
- push_assets.py: pack-manifest test-rundir now wins over assets/loose
  (~1000 differing files; half-size tree atlases broke SpeedTree UVs),
  pushes in batches of <=20k files, and chmods shell-owned files so the
  app can read them on Android 17.
- PORT-PLAN: device verification results and outstanding gaps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-13 10:53:56 +09:00
co-authored by Claude Opus 5.5
parent 6244b1d860
commit 8f96e7a143
9 changed files with 153 additions and 17 deletions
+2 -1
View File
@@ -96,7 +96,8 @@ ADB="$ANDROID_HOME/platform-tools/adb"; command -v adb >/dev/null && ADB="$(comm
[[ -n "${ADB_SERIAL:-}" ]] && ADB="$ADB -s $ADB_SERIAL"
if $ADB get-state >/dev/null 2>&1; then
$ADB install -r -d "$APK"
$ADB shell am start -n com.metin2.ava2/org.libsdl.app.SDLActivity
# AVA2_ARGS: client arguments for this launch (Ava2Activity), e.g. "--phase game --preview-data".
$ADB shell "am start -n com.metin2.ava2/.Ava2Activity${AVA2_ARGS:+ --es args '$AVA2_ARGS'}"
echo "Launched. Logs: $ADB logcat -s SDL SDL/APP AVA2 DEBUG AndroidRuntime"
else
echo "No device attached; APK not installed."