Fix NPE in Launcher onDestroy
Bug: 11765296 Change-Id: I83299656cc90b8a744afb0db4b5ea08675c8db82
This commit is contained in:
1 parent
060a48378f
commit
d552dd90f1
1 file changed
+1
-1
@@ -1877,7 +1877,7 @@ public class Launcher extends Activity
|
||||
|
||||
mDragLayer.clearAllResizeFrames();
|
||||
((ViewGroup) mWorkspace.getParent()).removeAllViews();
|
||||
mWorkspace.removeAllViews();
|
||||
mWorkspace.removeAllWorkspaceScreens();
|
||||
mWorkspace = null;
|
||||
mDragController = null;
|
||||
|
||||
|
||||
Reference in new issue
Block a user