From 110d8259fa71eaa02a5a87caadd5f2621259a5c4 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Wed, 12 Jul 2023 15:07:07 -0400 Subject: [PATCH] Explicity declare exported status in manifest entries. This shouldn't change any behavior. We're just explicitly declaring the exported field to be what it would otherwise get set to by default. --- app/src/main/AndroidManifest.xml | 418 ++++++++++++++++++++----------- 1 file changed, 271 insertions(+), 147 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index e498ac9142..ef24edc964 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -134,18 +134,21 @@ android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" android:taskAffinity=".calling" android:resizeableActivity="true" - android:launchMode="singleTask"/> + android:launchMode="singleTask" + android:exported="false" /> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false" /> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"> @@ -154,7 +157,8 @@ + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false" /> + android:windowSoftInputMode="adjustResize" + android:exported="false" /> + android:parentActivityName=".MainActivity" + android:exported="false"> @@ -627,7 +634,8 @@ android:windowSoftInputMode="stateUnchanged" android:launchMode="singleTask" android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" - android:parentActivityName=".MainActivity"> + android:parentActivityName=".MainActivity" + android:exported="false"> @@ -636,7 +644,8 @@ + android:resizeableActivity="true" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:theme="@style/Theme.Signal.DayNight.NoActionBar" + android:exported="false"/> + android:windowSoftInputMode="adjustResize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> - + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:theme="@style/Theme.Signal.DayNight.NoActionBar" + android:windowSoftInputMode="stateAlwaysHidden" + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:theme="@style/Theme.Signal.DayNight.NoActionBar" + android:windowSoftInputMode="stateAlwaysVisible" + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:label="@string/AndroidManifest__select_contacts" + android:windowSoftInputMode="stateHidden" + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> - + - + - + + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:windowSoftInputMode="stateAlwaysHidden" + android:exported="false"/> + android:windowSoftInputMode="stateAlwaysHidden|adjustResize" + android:exported="false"/> + android:parentActivityName=".MainActivity" + android:exported="false"> - + - - + - - + - - + - - + - - + - + - + + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> - + android:windowSoftInputMode="stateHidden" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:finishOnTaskLaunch="true" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:windowSoftInputMode="stateVisible|adjustResize" + android:exported="false"/> + android:windowSoftInputMode="stateVisible|adjustResize" + android:exported="false"/> + android:windowSoftInputMode="stateVisible|adjustResize" + android:exported="false"/> - + - + - + + android:theme="@style/Theme.AppCompat.Dialog.Alert" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> - + + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:theme="@style/Theme.Signal.DayNight.NoActionBar" + android:exported="false"/> + android:theme="@style/Theme.Signal.DayNight.NoActionBar" + android:exported="false"/> + android:theme="@style/Theme.Signal.DayNight.NoActionBar" + android:exported="false"/> + android:theme="@style/Theme.Signal.DayNight.NoActionBar" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:launchMode="singleTask" + android:exported="false"/> + android:launchMode="singleTask" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize|uiMode" + android:exported="false"/> + android:theme="@style/TextSecure.DarkNoActionBar" + android:exported="false"/> + android:theme="@style/Theme.Signal.WallpaperCropper" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> + android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize" + android:exported="false"/> - - - - - - + + + + + + + + + + @@ -1043,7 +1143,9 @@ - + @@ -1083,11 +1185,17 @@ - + - + - + @@ -1144,19 +1252,33 @@ - + - + - + - + - + - + - +