fixed crash on phones

(didn't initialize a variable properly)
This commit is contained in:
Michael Jurka 2010-08-03 16:04:26 -07:00
parent 2c3af5ffb2
commit 7ef4f752e1
1 changed files with 1 additions and 0 deletions

View File

@ -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);