summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2010-08-03 23:04:26 (GMT)
committerMichael Jurka <mikejurka@google.com>2010-08-03 23:04:26 (GMT)
commit7ef4f752e1eee17389ca41791f83d4ac21714419 (patch)
tree05f4abf8a8ba53ad0bffe0ef96d5a1146c8c1b5a /src
parent2c3af5ffb21039a73107ef70723d2353146ab94a (diff)
downloadandroid_packages_apps_Trebuchet-7ef4f752e1eee17389ca41791f83d4ac21714419.zip
android_packages_apps_Trebuchet-7ef4f752e1eee17389ca41791f83d4ac21714419.tar.gz
android_packages_apps_Trebuchet-7ef4f752e1eee17389ca41791f83d4ac21714419.tar.bz2
fixed crash on phones
(didn't initialize a variable properly)
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/Launcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java
index b20edbe..83fe114 100644
--- a/src/com/android/launcher2/Launcher.java
+++ b/src/com/android/launcher2/Launcher.java
@@ -768,6 +768,7 @@ public final class Launcher extends Activity
View handleView = findViewById(R.id.all_apps_button);
if (handleView != null && handleView instanceof HandleView) {
// we don't use handle view in xlarge mode
+ mHandleView = (HandleView)handleView;
mHandleView.setLauncher(this);
mHandleView.setOnClickListener(this);
mHandleView.setOnLongClickListener(this);