diff options
| author | Charles Chen <charlesccchen@google.com> | 2019-02-27 19:27:45 +0800 |
|---|---|---|
| committer | Charles Chen <charlesccchen@google.com> | 2019-03-08 15:01:43 +0800 |
| commit | 37848f3f3e56135bf2a52e031bdf5359d0219ef9 (patch) | |
| tree | 03f511d94a8e8b616a10da17291765439e6923d7 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 01794b570b7a8f95d2bef29d15ebafa934eb7ac5 (diff) | |
Fix NPE in WMS
In RootWindowContainer#getTopFocusedDisplayContent(), there is a chance
which the external display is disconected but mTopFocusedDisplayId is
not yet updated, which cause NPE when trying to use DisplayContent field
returned by RootWindowContainer#getTopFocusedDisplayContent().
Reroute to default displayContent when top focused displayContent is
null.
fix: 124773022
Test: atest WmTests
Change-Id: I8c59fd4f43ac17a44f643e75829e546487a8d4ec
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
