X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2FAndroidManifest.xml;h=8f306a22f0ac99ab9321157b0ab6d597138d2ff8;hb=8b998387868edeeda06be43e4648ac95782a839c;hp=004984e5468a7a314cd684c0e16769d6878a9752;hpb=d241bba6d474908fdcf398f5508652fddc18cc67;p=PrivacyBrowserAndroid.git diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 004984e5..8f306a22 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ - + + - + + + + + + + @@ -37,26 +46,57 @@ + android:supportsRtl="true" + android:networkSecurityConfig="@xml/network_security_config" + tools:ignore="UnusedAttribute" > + + + + + + + + + + + + + + + + `android:configChanges="orientation|screenSize"` makes the activity not reload when the orientation changes, which preserves scroll location in the WebView. + `android:configChanges="keyboard|keyboardHidden"` makes the activity not reload when a bluetooth keyboard is activated/goes to sleep. + `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:configChanges="orientation|screenSize"` makes the activity not reload when the orientation changes. + `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. --> + + + + + + - + \ No newline at end of file