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;
|
visible = true;
|
||||||
}
|
}
|
||||||
if (visible) {
|
if (mNotificationShadeView != null) {
|
||||||
mNotificationShadeView.setVisibility(View.VISIBLE);
|
if (visible) {
|
||||||
} else {
|
mNotificationShadeView.setVisibility(View.VISIBLE);
|
||||||
mNotificationShadeView.setVisibility(View.INVISIBLE);
|
} else {
|
||||||
|
mNotificationShadeView.setVisibility(View.INVISIBLE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user