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 16, 2024
1 parent 8877dc0 commit 6d0f1af
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 6d0f1af

Please sign in to comment.