forked from upstream-mirrors/quik
Prevent Activity from recreating during orientation change. Fixed #561
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest package="com.moez.QKSMS"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
package="com.moez.QKSMS">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||||
@@ -45,6 +45,7 @@
|
|||||||
android:theme="@style/AppThemeDark">
|
android:theme="@style/AppThemeDark">
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.popup.QKComposeActivity"
|
android:name=".ui.popup.QKComposeActivity"
|
||||||
|
android:configChanges="orientation|screenSize"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:taskAffinity=""
|
android:taskAffinity=""
|
||||||
android:theme="@style/AppThemeLightDialog"
|
android:theme="@style/AppThemeLightDialog"
|
||||||
@@ -66,6 +67,7 @@
|
|||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.MainActivity"
|
android:name=".ui.MainActivity"
|
||||||
|
android:configChanges="orientation|screenSize"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
@@ -93,20 +95,24 @@
|
|||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.messagelist.MessageListActivity"
|
android:name=".ui.messagelist.MessageListActivity"
|
||||||
|
android:configChanges="orientation|screenSize"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:screenOrientation="user"
|
android:screenOrientation="user"
|
||||||
android:windowSoftInputMode="adjustResize" />
|
android:windowSoftInputMode="adjustResize" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.settings.SettingsActivity"
|
android:name=".ui.settings.SettingsActivity"
|
||||||
|
android:configChanges="orientation|screenSize"
|
||||||
android:screenOrientation="user"
|
android:screenOrientation="user"
|
||||||
android:windowSoftInputMode="adjustResize" />
|
android:windowSoftInputMode="adjustResize" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.search.SearchActivity"
|
android:name=".ui.search.SearchActivity"
|
||||||
|
android:configChanges="orientation|screenSize"
|
||||||
android:screenOrientation="user"
|
android:screenOrientation="user"
|
||||||
android:windowSoftInputMode="adjustResize" />
|
android:windowSoftInputMode="adjustResize" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.compose.ComposeActivity"
|
android:name=".ui.compose.ComposeActivity"
|
||||||
|
android:configChanges="orientation|screenSize"
|
||||||
android:screenOrientation="user"
|
android:screenOrientation="user"
|
||||||
android:windowSoftInputMode="adjustResize" />
|
android:windowSoftInputMode="adjustResize" />
|
||||||
|
|
||||||
@@ -371,6 +377,7 @@
|
|||||||
<!-- Popup activity -->
|
<!-- Popup activity -->
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.popup.QKReplyActivity"
|
android:name=".ui.popup.QKReplyActivity"
|
||||||
|
android:configChanges="orientation|screenSize"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:screenOrientation="user"
|
android:screenOrientation="user"
|
||||||
android:taskAffinity=""
|
android:taskAffinity=""
|
||||||
@@ -484,6 +491,11 @@
|
|||||||
<action android:name="com.mariussoft.endlessjabber.action.extend" />
|
<action android:name="com.mariussoft.endlessjabber.action.extend" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
<receiver android:name=".receiver.AirplaneModeReceiver">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.AIRPLANE_MODE" />
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
|
||||||
<service android:name="com.mariussoft.endlessjabber.sdk.EndlessJabberWakefulService" />
|
<service android:name="com.mariussoft.endlessjabber.sdk.EndlessJabberWakefulService" />
|
||||||
<service android:name=".service.DeleteOldMessagesService" />
|
<service android:name=".service.DeleteOldMessagesService" />
|
||||||
|
|||||||
Reference in New Issue
Block a user