X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2FAndroidManifest.xml;h=94c0a980b79ac1606800d03af940ad55c5f7c928;hp=cca1063f58ea68765ae8803f3f6867993f7d426b;hb=fd2c21ea8241dce9c86a3213b9b9e325d5e7ce4a;hpb=e3ed631a52f5e8eac2d5c938b2d475ed6c9362bb diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index cca1063f..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