Skip to content

Commit

Permalink
Lock Main Activity screen orientation
Browse files Browse the repository at this point in the history
Lock Main Activity screen orientation to prevent screen rotation from
causing the termination of app operations.

Addresses: #85
  • Loading branch information
tmo1 committed Jan 31, 2024
1 parent bf6f071 commit 9e21be2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
</activity>
<activity
android:name=".MainActivity"
android:exported="true">
android:exported="true"
android:screenOrientation="locked">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down

0 comments on commit 9e21be2

Please sign in to comment.