Merge "Fix NPE when calling updateStateLw"
This commit is contained in:
committed by
Android (Google) Code Review
commit
ccd3bb6bbd
@@ -219,7 +219,7 @@ public class BarController {
|
||||
}
|
||||
|
||||
private boolean updateStateLw(final int state) {
|
||||
if (state != mState) {
|
||||
if (mWin != null && state != mState) {
|
||||
mState = state;
|
||||
if (DEBUG) Slog.d(mTag, "mState: " + StatusBarManager.windowStateToString(state));
|
||||
mHandler.post(new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user