aboutsummaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2015-09-10 12:30:26 -0700
committerDanesh M <daneshm90@gmail.com>2015-09-11 12:53:03 -0700
commit4bdff092741a6fdd261ffae1eb9cc25e7c014fc3 (patch)
tree9ec3c2b2144112acc17876f8854dfa4a99fab73e /AndroidManifest.xml
parente379cd206acffe75f6424e18ae6fdcb26800290a (diff)
downloadandroid_packages_apps_LockClock-4bdff092741a6fdd261ffae1eb9cc25e7c014fc3.tar.gz
android_packages_apps_LockClock-4bdff092741a6fdd261ffae1eb9cc25e7c014fc3.tar.bz2
android_packages_apps_LockClock-4bdff092741a6fdd261ffae1eb9cc25e7c014fc3.zip
LockClock : Ensure configuration screen doesn't crash on orientation
If the user switches orientation when the progress dialog for custom location is showing, the dialog is torn down, then the task completes and tries to dismiss causing a crash. Since we have multiple dialogs to keep state of and our activity does not do anything fancy with orientation change, just override it and avoid tearing down the ui. Repro : 1. Click custom location preference for weather 2. Rotate screen after pressing OK 3. Observe crash issue-id : CYNGNOS-994 Change-Id: Id11ce29ce95324c88f83b135684886acf51e0be2
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 1bf0043..1e983ba 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -48,6 +48,7 @@
<activity
android:name=".preference.Preferences"
+ android:configChanges="orientation|screenSize"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />