diff options
author | kaiyiz <kaiyiz@codeaurora.org> | 2014-06-03 15:15:55 +0800 |
---|---|---|
committer | Roman Birg <roman@cyngn.com> | 2014-09-02 11:53:44 -0700 |
commit | b978860437787013eef0d1815e4d40c2396ccea6 (patch) | |
tree | a815a5cc223a3161ba1fd1c798c65778f1ccfa96 | |
parent | 68b0639a7742b7d40da9659c1f8db901ab74b612 (diff) | |
download | packages_apps_Contacts-b978860437787013eef0d1815e4d40c2396ccea6.tar.gz packages_apps_Contacts-b978860437787013eef0d1815e4d40c2396ccea6.tar.bz2 packages_apps_Contacts-b978860437787013eef0d1815e4d40c2396ccea6.zip |
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
-rw-r--r-- | AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 5c3a69998..d8e0ada58 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -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"> |