X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2FAndroidManifest.xml;h=8f6a8a50839ac19e5fb9a9d55fcbba8e79e41d85;hp=004984e5468a7a314cd684c0e16769d6878a9752;hb=d420aa6be32a78b27905074edc3881a6e71d2263;hpb=d241bba6d474908fdcf398f5508652fddc18cc67 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 004984e5..8f6a8a50 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ - + + + + @@ -37,6 +40,7 @@ @@ -46,12 +50,17 @@ android:name="android.webkit.WebView.MetricsOptOut" android:value="true" /> + + + + `android:configChanges="orientation|screenSize"` makes the activity not reload when the orientation changes, which preserves scroll location in the WebView. + `android:launchMode="singleTask"` makes the app launch in a new task instead of inside the task of the program that sends it an intent. + It also makes it reuse an existing Privacy Browser activity if available instead of launching a new one. + `android:persistableMode="persistNever"` removes Privacy Browser from the recent apps list on a device reboot. + `tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. --> + `android:persistableMode="persistNever"` removes Privacy Browser from the recent apps list on a device reboot. + `tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. --> + `android:persistableMode="persistNever"` removes Privacy Browser from the recent apps list on a device reboot. + `tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. --> + `android:persistableMode="persistNever"` removes Privacy Browser from the recent apps list on a device reboot. + `tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. --> - + + `android:persistableMode="persistNever"` removes Privacy Browser from the recent apps list on a device reboot. + `tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. --> + `android:persistableMode="persistNever"` removes Privacy Browser from the recent apps list on a device reboot. + `tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. --> + `android:persistableMode="persistNever"` removes Privacy Browser from the recent apps list on a device reboot. + `tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. -->