From 0b8a21f37b0eec17dddf321b1b50f63638c3eb9d Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Fri, 17 Jan 2020 10:43:36 +1100 Subject: [PATCH] Force portrait mode --- AndroidManifest.xml | 47 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 087d944da2..2505b28226 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -126,44 +126,60 @@ + android:name="org.thoughtcrime.securesms.loki.redesign.activities.LandingActivity" + android:screenOrientation="portrait" /> + android:name="org.thoughtcrime.securesms.loki.redesign.activities.RegisterActivity" + android:screenOrientation="portrait" /> + android:name="org.thoughtcrime.securesms.loki.redesign.activities.QRCodeActivity" + android:screenOrientation="portrait" /> + android:name="org.thoughtcrime.securesms.loki.redesign.activities.CreatePrivateChatActivity" + android:screenOrientation="portrait" /> + android:name="org.thoughtcrime.securesms.loki.redesign.activities.SeedActivity" + android:screenOrientation="portrait" /> + android:name="org.thoughtcrime.securesms.loki.redesign.activities.PrivacySettingsActivity" + android:screenOrientation="portrait" /> + android:name="org.thoughtcrime.securesms.loki.redesign.activities.NotificationSettingsActivity" + android:screenOrientation="portrait" /> + android:name="org.thoughtcrime.securesms.loki.redesign.activities.ChatSettingsActivity" + android:screenOrientation="portrait" /> + android:name="org.thoughtcrime.securesms.loki.redesign.activities.LinkedDevicesActivity" + android:screenOrientation="portrait" /> - + @@ -296,7 +314,9 @@ android:name="android.support.PARENT_ACTIVITY" android:value="PsiClass:ConversationListActivity" /> - + @@ -357,6 +378,7 @@ android:name="org.thoughtcrime.securesms.giph.ui.GiphyActivity" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" android:theme="@style/TextSecure.LightNoActionBar" + android:screenOrientation="portrait" android:windowSoftInputMode="stateHidden" /> @@ -423,6 +446,7 @@ android:name="org.thoughtcrime.securesms.MediaOverviewActivity" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" android:launchMode="singleTask" + android:screenOrientation="portrait" android:theme="@style/Session.DarkTheme.NoActionBar" android:windowSoftInputMode="stateHidden" />