diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-03-26 00:40:35 +0800 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-03-25 20:24:12 +0000 |
commit | 615502e71dd0db7b270e079607aa05a418f74db1 (patch) | |
tree | 18d39229edb2a4641d75b34bc8763aa3635a4e70 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f5f1a2e7167db856119f59af897f400f7b1c1609 (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. It must be checked before using.
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
(cherry picked from commit 52b5816d2ae7f5fd51d921d7f69a147c97afce4b)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions