Merge "Adding null check for mNotificationShadeView" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
01b5cd290a
@@ -386,10 +386,12 @@ public class NotificationShadeWindowControllerImpl implements NotificationShadeW
|
||||
}
|
||||
visible = true;
|
||||
}
|
||||
if (visible) {
|
||||
mNotificationShadeView.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
mNotificationShadeView.setVisibility(View.INVISIBLE);
|
||||
if (mNotificationShadeView != null) {
|
||||
if (visible) {
|
||||
mNotificationShadeView.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
mNotificationShadeView.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user