Skip to content

Commit

Permalink
fix bug on some android phones where changing landscape/portrait cras…
Browse files Browse the repository at this point in the history
…hes app
  • Loading branch information
dmarcs committed Nov 5, 2022
1 parent 92baa33 commit 81420c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions documentscanner-demo/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
android:theme="@style/Theme.Demo">
<activity
android:name=".MainActivity"
android:configChanges="orientation|screenSize"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down
2 changes: 2 additions & 0 deletions documentscanner/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<application>
<activity
android:name=".DocumentScannerActivity"
android:configChanges="orientation|screenSize"
android:screenOrientation="portrait"
android:theme="@style/Theme.FullScreen" />

<provider
Expand Down

0 comments on commit 81420c8

Please sign in to comment.