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

Commit b9788604 authored by kaiyiz's avatar kaiyiz Committed by Roman Birg
Browse files

Contacts: Add configChanges attribute in manifest file

When rotate the screen, the ContactEditorActivity call oncreate() again,
so the dialog will dismiss.

Add android:configChanges="orientation|screenSize" in manifest file
to prevent onCreate function from being recalled.

CRs-Fixed: 672421

Change-Id: I7901ab5bfb93dd78ceca76111c8a86f95447c908
parent 68b0639a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -363,6 +363,7 @@
        <activity
            android:name=".activities.ContactEditorActivity"
            android:theme="@style/EditorActivityTheme"
            android:configChanges="orientation|screenSize|keyboardHidden"
            android:windowSoftInputMode="adjustResize">

            <intent-filter android:label="@string/editContactDescription">