Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cfa3791 authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Add mStatusBarWindowController null check on ACTION_SCREEN_OFF

Bug: 117401888
Test: Builds and manual verification
Change-Id: Id4e000588ad3dae97ed519da6d23b2c9a639cf0e
parent 1a14cfb6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2852,7 +2852,9 @@ public class StatusBar extends SystemUI implements DemoMode,
                }
            }
            else if (Intent.ACTION_SCREEN_OFF.equals(action)) {
                if (mStatusBarWindowController != null) {
                    mStatusBarWindowController.setNotTouchable(false);
                }
                finishBarAnimations();
                resetUserExpandedStates();
            }