X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2FAndroidManifest.xml;h=13a58e31e85eea6c232a4b4e1216074f51504b45;hp=004984e5468a7a314cd684c0e16769d6878a9752;hb=b692dfc0bae740891c806bb2ea1c18041bf6b66f;hpb=d241bba6d474908fdcf398f5508652fddc18cc67 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 004984e5..13a58e31 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ - + + - + + + + + + + @@ -37,26 +46,58 @@ + android:supportsRtl="true" + android:networkSecurityConfig="@xml/network_security_config" + tools:ignore="UnusedAttribute" > + + + + + + + + + + + + + + + + `android:configChanges="orientation|screenSize"` makes the activity not restart when the orientation changes, which preserves scroll location in the WebView. + `android:configChanges="screenLayout"` makes the activity not restart when entering or exiting split screen mode. + `android:configChanges="keyboard|keyboardHidden"` makes the activity not restart 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. --> - + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + - - + + + - + \ No newline at end of file