- android:theme="@style/AppTheme" >
-
- <!-- android:configChanges="orientation|screenSize" makes the app not reload when the orientation changes, which preserves scroll location in the WebView. -->
- <!-- 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:icon="@mipmap/privacy_browser"
+ android:theme="@style/PrivacyBrowser"
+ android:allowBackup="false"
+ android:fullBackupContent="false" >
+
+ <!-- If `android:name="android.webkit.WebView.MetricsOptOut"` is not `true` then WebViews will upload metrics to Google.
+ https://developer.android.com/reference/android/webkit/WebView.html -->
+ <meta-data
+ android:name="android.webkit.WebView.MetricsOptOut"
+ android:value="true" />
+
+ <!-- `android:configChanges="orientation|screenSize"` makes the activity not reload when the orientation changes, which preserves scroll location in the WebView.
+ `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 recents screen on a device reboot. -->