X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2FAndroidManifest.xml;h=b755fad1488c4c810a8817860f474c1bcd40e94b;hp=be16084ba18ef49814ccc73697357d451fdf8cb4;hb=90a275b121b638ef48b0499f0f3c171dfa489e47;hpb=922fa1656fdc20242c266346ea30d4c2e9489eb9 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index be16084b..b755fad1 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