diff options
author | Kevin Han <kevhan@google.com> | 2020-05-28 12:44:38 -0700 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2020-05-28 12:44:38 -0700 |
commit | c18d6d8bf62d221214dbb646c3cf179e19630e10 (patch) | |
tree | f3d23d150da5fbb6e87c83ea6ee267ad98913014 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 10bee631fde96b97a9e23cf50d19369c115ef3d3 (diff) |
Fix NPE by returning empty params.
Re-entrant calls make it possible for inflation to occur after removal.
While http://ag/11334076 prevented the actual inflation from occuring in
this case, it was still possible to hit an NPE by attempting to modify a
notification's inflation parameters that didn't exist. This provides a
temporary workaround by just returning an empty params object.
Bug: 156989744
Test: atest SystemUITests
Change-Id: Ia86a92e0e447e521a6011e7edd32ebdd974a2c6b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions