Merge "Avoid null pointer exception when calling NotificationShadeWindowControllerImpl#dump" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c679bc7383
@@ -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