<!--
Copyright 2015-2016 Soren Stoutner <soren@stoutner.com>.
- This file is part of Privacy Browser <https://privacybrowser.stoutner.com/>.
+ This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
Privacy Browser is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
android:allowBackup="false"
android:fullBackupContent="false" >
- <!-- android:configChanges="orientation|screenSize" makes the app not reload when the orientation changes, which preserves scroll location in the WebView. -->
+ <!-- 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. -->
</activity>
<!-- android:persistableMode="persistNever" removes Privacy Browser from the recents screen on a device reboot. -->
+ <!-- android:configChanges="orientation|screenSize" makes the activity not reload when the orientation changes. -->
<activity
android:name=".SettingsActivity"
android:label="@string/privacy_browser_settings"
android:parentActivityName=".MainWebViewActivity"
+ android:configChanges="orientation|screenSize"
android:persistableMode="persistNever" >
<!-- android.support.PARENT_ACTIVITY is necessary for API <= 15. -->