Fix NPE
Bug: 6394159 Change-Id: Idd7c94b4c8698a9f6a35e5da5ea8306a952084e8
This commit is contained in:
1 parent
c9b5d2b980
commit
bafdaafb99
1 file changed
+3
-1
@@ -2452,7 +2452,9 @@ public final class Launcher extends Activity
|
||||
fromView.setVisibility(View.GONE);
|
||||
dispatchOnLauncherTransitionEnd(fromView, animated, true);
|
||||
dispatchOnLauncherTransitionEnd(toView, animated, true);
|
||||
mWorkspace.hideScrollingIndicator(false);
|
||||
if (mWorkspace != null) {
|
||||
mWorkspace.hideScrollingIndicator(false);
|
||||
}
|
||||
if (onCompleteRunnable != null) {
|
||||
onCompleteRunnable.run();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user