From 6e84ca1f3c19fc0f67f021ad43c40d7b99416d55 Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Sun, 29 Mar 2020 15:16:42 +0200 Subject: 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. --- app/src/main/AndroidManifest.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/src/main') diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index db187ed7..eb5895d5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -78,7 +78,8 @@ + android:windowSoftInputMode="adjustResize" + android:configChanges="orientation|screenSize" /> -- cgit v1.2.3