Fix activity recreation when certain configurations change (#1)
This commit is contained in:
parent
faaa17f98d
commit
16fd228b3b
5 changed files with 12 additions and 3 deletions
|
@ -14,7 +14,8 @@
|
|||
>
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:exported="true">
|
||||
android:exported="true"
|
||||
android:configChanges="orientation|keyboardHidden|screenSize|layoutDirection">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
|
|
|
@ -66,4 +66,4 @@ public class MainActivity extends Activity {
|
|||
.build()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue