summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2020-05-28 12:44:38 -0700
committerKevin Han <kevhan@google.com>2020-05-28 12:44:38 -0700
commitc18d6d8bf62d221214dbb646c3cf179e19630e10 (patch)
treef3d23d150da5fbb6e87c83ea6ee267ad98913014 /rs/java/android/renderscript/Program.java
parent10bee631fde96b97a9e23cf50d19369c115ef3d3 (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/Program.java')
0 files changed, 0 insertions, 0 deletions