fixed crash on phones
(didn't initialize a variable properly)
This commit is contained in:
parent
2c3af5ffb2
commit
7ef4f752e1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue