use singletop for main activities

This commit is contained in:
Andrew Dolgov 2015-02-10 16:17:09 +03:00
parent c00b9e724e
commit 2055619475

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.fox.ttrss" package="org.fox.ttrss"
android:versionCode="296" android:versionCode="297"
android:versionName="1.87" > android:versionName="1.87" >
<uses-sdk <uses-sdk
@ -22,6 +22,7 @@
android:label="@string/app_name" > android:label="@string/app_name" >
<activity <activity
android:name=".OnlineActivity" android:name=".OnlineActivity"
android:launchMode="singleTop"
android:label="@string/app_name" > android:label="@string/app_name" >
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@ -35,6 +36,7 @@
</activity> </activity>
<activity <activity
android:name=".FeedsActivity" android:name=".FeedsActivity"
android:launchMode="singleTop"
android:label="@string/app_name"> android:label="@string/app_name">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
@ -42,6 +44,7 @@
</activity> </activity>
<activity <activity
android:name=".HeadlinesActivity" android:name=".HeadlinesActivity"
android:launchMode="singleTop"
android:configChanges="keyboardHidden|orientation|screenSize" android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"> android:label="@string/app_name">
<intent-filter> <intent-filter>