- <!-- android.support.PARENT_ACTIVITY is necessary for API <= 15. -->
- <meta-data
- android:name="android.support.PARENT_ACTIVITY"
- android:value=".MainWebViewActivity" />
- </activity>
+ <!-- `android:windowSoftInputMode="stateAlwaysHidden"` keeps the keyboard from displaying when the screen is rotated and after the `AddDomainDialog` is dismissed.
+ `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.DomainsActivity"
+ android:label="@string/domains"
+ android:parentActivityName=".activities.MainWebViewActivity"
+ android:screenOrientation="fullUser"
+ android:windowSoftInputMode="stateAlwaysHidden"
+ 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.GuideActivity"
+ android:label="@string/privacy_browser_guide"
+ android:parentActivityName=".activities.MainWebViewActivity"
+ android:configChanges="orientation|screenSize"
+ android:screenOrientation="fullUser"
+ android:persistableMode="persistNever"
+ tools:ignore="UnusedAttribute" />