Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6953a275 authored by Joseph Mangmang's avatar Joseph Mangmang
Browse files

Prevent Activity from recreating during orientation change. Fixed #561

parent 1feab612
Loading
Loading
Loading
Loading
+14 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.moez.QKSMS"
    xmlns:android="http://schemas.android.com/apk/res/android">
<manifest 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_FINE_LOCATION" />
@@ -45,6 +45,7 @@
        android:theme="@style/AppThemeDark">
        <activity
            android:name=".ui.popup.QKComposeActivity"
            android:configChanges="orientation|screenSize"
            android:excludeFromRecents="true"
            android:taskAffinity=""
            android:theme="@style/AppThemeLightDialog"
@@ -66,6 +67,7 @@
        </activity>
        <activity
            android:name=".ui.MainActivity"
            android:configChanges="orientation|screenSize"
            android:enabled="true"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
@@ -93,20 +95,24 @@
        </activity>
        <activity
            android:name=".ui.messagelist.MessageListActivity"
            android:configChanges="orientation|screenSize"
            android:launchMode="singleTop"
            android:screenOrientation="user"
            android:windowSoftInputMode="adjustResize" />

        <activity
            android:name=".ui.settings.SettingsActivity"
            android:configChanges="orientation|screenSize"
            android:screenOrientation="user"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".ui.search.SearchActivity"
            android:configChanges="orientation|screenSize"
            android:screenOrientation="user"
            android:windowSoftInputMode="adjustResize" />
        <activity
            android:name=".ui.compose.ComposeActivity"
            android:configChanges="orientation|screenSize"
            android:screenOrientation="user"
            android:windowSoftInputMode="adjustResize" />

@@ -371,6 +377,7 @@
        <!-- Popup activity -->
        <activity
            android:name=".ui.popup.QKReplyActivity"
            android:configChanges="orientation|screenSize"
            android:excludeFromRecents="true"
            android:screenOrientation="user"
            android:taskAffinity=""
@@ -484,6 +491,11 @@
                <action android:name="com.mariussoft.endlessjabber.action.extend" />
            </intent-filter>
        </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=".service.DeleteOldMessagesService" />