mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
Fix PgpActivity crash on orientation change (#681)
Currently, PgpActivity resets or crashes when the orientation (or screen size) changes. Since we do not use separate resources in landscape mode, the easiest and only slightly hacky solution is to tell the system to not recreate the activity in response to these changes.
This commit is contained in:
@@ -78,7 +78,8 @@
|
||||
<activity
|
||||
android:name=".crypto.PgpActivity"
|
||||
android:parentActivityName=".PasswordStore"
|
||||
android:windowSoftInputMode="adjustResize" />
|
||||
android:windowSoftInputMode="adjustResize"
|
||||
android:configChanges="orientation|screenSize" />
|
||||
<activity android:name=".SelectFolderActivity" />
|
||||
<activity android:name=".sshkeygen.SshKeyGenActivity" android:windowSoftInputMode="adjustResize" />
|
||||
<activity android:name=".autofill.oreo.ui.AutofillDecryptActivity" />
|
||||
|
Reference in New Issue
Block a user