Skip to content

Commit

Permalink
[VisionGlass] Do not rotate the Phone UI
Browse files Browse the repository at this point in the history
Phone UI layout used to automatically switch to landscape mode when
the phone was rotated. That is an undesired capability for this
particular use case in which we want the UI to stay the same no
matter the rotation of the phone. That's because the phone is the
controller so we don't want the UI to suddenly change when the user
is pointing to some directions.
  • Loading branch information
svillar committed Feb 15, 2024
1 parent f15dfa1 commit 22c5153
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/visionglass/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

<application>
<activity
android:name=".VRBrowserActivity">
android:name=".VRBrowserActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down

0 comments on commit 22c5153

Please sign in to comment.