diff options
| author | 2018-10-08 18:40:36 +0000 | |
|---|---|---|
| committer | 2018-10-08 18:40:36 +0000 | |
| commit | 6725df0b344fbce665c05b74d8c87fd8029c3393 (patch) | |
| tree | d2e52a6449fab964152039bd7d6bfb86b18b7dfd | |
| parent | d7262c9c5fb3326d4c303ce03902de785a11f602 (diff) | |
| parent | 0cfa37911dd384a03bda3ac7e27f8196b153c54b (diff) | |
Merge "Add mStatusBarWindowController null check on ACTION_SCREEN_OFF"
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java index 90ed97f665d5..a7c43cdbf9c5 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java @@ -2852,7 +2852,9 @@ public class StatusBar extends SystemUI implements DemoMode, } } else if (Intent.ACTION_SCREEN_OFF.equals(action)) { - mStatusBarWindowController.setNotTouchable(false); + if (mStatusBarWindowController != null) { + mStatusBarWindowController.setNotTouchable(false); + } finishBarAnimations(); resetUserExpandedStates(); } |