diff options
| author | Claude <noreply@anthropic.com> | 2026-04-10 21:57:42 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-04-10 21:57:42 +0000 |
| commit | d66ed02942849c0f19efaa1caeae14bd0eb1545b (patch) | |
| tree | f3eff627b63e9907c0d0c45490e7670593237a04 /android-app/app/src | |
| parent | 35b214094a5563ae5b6cbd7cdff1e1617ca33184 (diff) | |
Lock MainActivity to portrait orientation
Layout doesn't support landscape; rotating was causing a crash.
configChanges also prevents unnecessary activity recreation if the
system somehow delivers an orientation event anyway.
https://claude.ai/code/session_01HXPjBsogsJVRwCiekDGkJX
Diffstat (limited to 'android-app/app/src')
| -rw-r--r-- | android-app/app/src/main/AndroidManifest.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/android-app/app/src/main/AndroidManifest.xml b/android-app/app/src/main/AndroidManifest.xml index 2f23e87..bcab20c 100644 --- a/android-app/app/src/main/AndroidManifest.xml +++ b/android-app/app/src/main/AndroidManifest.xml @@ -25,7 +25,9 @@ android:foregroundServiceType="location" /> <activity android:name=".MainActivity" - android:exported="true"> + android:exported="true" + android:screenOrientation="portrait" + android:configChanges="orientation|screenSize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> |
