Skip to content

Commit

Permalink
feat(android): avoid app restart on activity resize or uiMode change (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Mar 16, 2020
1 parent 221ce96 commit 4a29ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android-template/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
android:theme="@style/AppTheme">

<activity
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
android:name="com.getcapacitor.myapp.MainActivity"
android:label="@string/title_activity_main"
android:theme="@style/AppTheme.NoActionBarLaunch"
Expand Down

0 comments on commit 4a29ff8

Please sign in to comment.