`android:persistableMode="persistNever"` removes Privacy Browser from the recents screen on a device reboot.
`tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. -->
<activity
- android:name=".MainWebViewActivity"
+ android:name=".activities.MainWebView"
android:label="@string/privacy_browser"
android:configChanges="orientation|screenSize"
android:launchMode="singleTask"
`android:persistableMode="persistNever"` removes Privacy Browser from the recents screen on a device reboot.
`tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. -->
<activity
- android:name=".BookmarksActivity"
+ android:name=".activities.Bookmarks"
android:label="@string/bookmarks"
android:theme="@style/PrivacyBrowser.SecondaryActivity"
- android:parentActivityName=".MainWebViewActivity"
+ android:parentActivityName=".activities.MainWebView"
android:configChanges="orientation|screenSize"
android:screenOrientation="fullUser"
android:persistableMode="persistNever"
`android:persistableMode="persistNever"` removes Privacy Browser from the recents screen on a device reboot.
`tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. -->
<activity
- android:name=".BookmarksDatabaseViewActivity"
+ android:name=".activities.BookmarksDatabaseView"
android:label="@string/bookmarks_database_view"
android:theme="@style/PrivacyBrowser.SecondaryActivity"
- android:parentActivityName=".BookmarksActivity"
+ android:parentActivityName=".activities.Bookmarks"
android:configChanges="orientation|screenSize"
android:screenOrientation="fullUser"
android:persistableMode="persistNever"
`android:persistableMode="persistNever"` removes Privacy Browser from the recents screen on a device reboot.
`tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. -->
<activity
- android:name=".SettingsActivity"
+ android:name=".activities.Settings"
android:label="@string/privacy_browser_settings"
android:theme="@style/Settings"
- android:parentActivityName=".MainWebViewActivity"
+ android:parentActivityName=".activities.MainWebView"
android:configChanges="orientation|screenSize"
android:screenOrientation="fullUser"
android:persistableMode="persistNever"
`android:persistableMode="persistNever"` removes Privacy Browser from the recents screen on a device reboot.
`tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. -->
<activity
- android:name=".GuideActivity"
+ android:name=".activities.DomainsList"
+ android:label="@string/domains"
+ android:theme="@style/PrivacyBrowser.SecondaryActivity"
+ android:parentActivityName=".activities.MainWebView"
+ android:configChanges="orientation|screenSize"
+ android:screenOrientation="fullUser"
+ android:persistableMode="persistNever"
+ tools:ignore="UnusedAttribute" />
+
+ <!-- `android:configChanges="orientation|screenSize"` makes the activity not reload when the orientation changes.
+ `android:persistableMode="persistNever"` removes Privacy Browser from the recents screen on a device reboot.
+ `tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. -->
+ <activity
+ android:name=".activities.Guide"
android:label="@string/privacy_browser_guide"
android:theme="@style/PrivacyBrowser.SecondaryActivity"
- android:parentActivityName=".MainWebViewActivity"
+ android:parentActivityName=".activities.MainWebView"
android:configChanges="orientation|screenSize"
android:screenOrientation="fullUser"
android:persistableMode="persistNever"
`android:persistableMode="persistNever"` removes Privacy Browser from the recents screen on a device reboot.
`tools:ignore="unusedAttribute"` removes the lint warning that `persistableMode` does not apply to API < 21. -->
<activity
- android:name=".AboutActivity"
+ android:name=".activities.About"
android:label="@string/about_privacy_browser"
android:theme="@style/PrivacyBrowser.SecondaryActivity"
- android:parentActivityName=".MainWebViewActivity"
+ android:parentActivityName=".activities.MainWebView"
android:configChanges="orientation|screenSize"
android:screenOrientation="fullUser"
android:persistableMode="persistNever"