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

Skip to content
Commit d80ae9b5 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Prevent potential NPE when updating state to bar manager

If the process of bar window is died, the associated window
will be set to null. Since BarController is associated with
display, the display id can be a final field, so it no longer
depends on the nullable member mWin.

Fixes: 129240719
Test: manual - Play video in landscape mode and make systemui
      crash, e.g. adb shell kill -11 ${pid of systemui}. The
      result should be only the systemui is restarted.

Change-Id: If5b93e76cb856dd0dd80fb8523788f4587222c9c
parent b9b310a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment