X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2FAndroidManifest.xml;h=94c0a980b79ac1606800d03af940ad55c5f7c928;hp=48e4878950a3c9492c0c5614534330acb96a7c13;hb=1aa252f44922127b9053655a43b0df4e479438ed;hpb=a6d829c39b356e9134cb488c4ae7e0e29bf9df96 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 48e48789..94c0a980 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ - + + - + + + + + + + @@ -37,26 +46,52 @@ + 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