diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-03-26 00:40:35 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-04-01 12:05:36 +0800 |
commit | d80ae9b5ecd31550279a4e2a52c440ce5f4ff325 (patch) | |
tree | 6657bc2cfe4a5fe55863a2e6186c8a7b636f298f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b9b310a9762a3aa8bfd241774823574679a877f1 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions