summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/Launcher.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-08-23 17:28:05 -0700
committerWinson Chung <winsonc@google.com>2011-08-23 18:05:20 -0700
commit87acb4806bc921297384183a5d69eec28cd35f6e (patch)
treecfe9dfc5a9edd1658879812b8931f15b31e97312 /src/com/android/launcher2/Launcher.java
parent0b48076529aa3710a2d9e35ae1cb391f77d897ae (diff)
downloadpackages_apps_trebuchet-87acb4806bc921297384183a5d69eec28cd35f6e.zip
packages_apps_trebuchet-87acb4806bc921297384183a5d69eec28cd35f6e.tar.gz
packages_apps_trebuchet-87acb4806bc921297384183a5d69eec28cd35f6e.tar.bz2
Fixing issue where rotating device while in widgets pane fails to load.
- Removed some unnecessary code related to dialogs. Change-Id: I5abfc7851c78e6597fd49cc96db5b26bd0976c1c
Diffstat (limited to 'src/com/android/launcher2/Launcher.java')
-rw-r--r--src/com/android/launcher2/Launcher.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index 44dbc15..055577a 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -1060,6 +1060,8 @@ public final class Launcher extends Activity
void closeSystemDialogs() {
getWindow().closeAllPanels();
+ /**
+ * We should remove this code when we remove all the dialog code.
try {
dismissDialog(DIALOG_CREATE_SHORTCUT);
// Unlock the workspace if the dialog was showing
@@ -1073,6 +1075,7 @@ public final class Launcher extends Activity
} catch (Exception e) {
// An exception is thrown if the dialog is not visible, which is fine
}
+ */
// Whatever we were doing is hereby canceled.
mWaitingForResult = false;