Avoid null pointer exception when calling NotificationShadeWindowControllerImpl#dump
Fix: 185470518 Test: manual Change-Id: I3a345929ed09e895f54622bd151a60f0c9acab31
This commit is contained in:
@@ -666,7 +666,9 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW
|
||||
pw.println(TAG + ":");
|
||||
pw.println(" mKeyguardDisplayMode=" + mKeyguardDisplayMode);
|
||||
pw.println(mCurrentState);
|
||||
mNotificationShadeView.getViewRootImpl().dump(" ", pw);
|
||||
if (mNotificationShadeView != null && mNotificationShadeView.getViewRootImpl() != null) {
|
||||
mNotificationShadeView.getViewRootImpl().dump(" ", pw);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user