summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2021-02-17 18:13:56 -0800
committerKevin Han <kevhan@google.com>2021-02-17 18:13:56 -0800
commitf05208818a07e1d80665a4a391b5b04d57e7a710 (patch)
tree109b339ba515892111a5c31de31cbdcdf818d19e /rs/java/android/renderscript/RenderScript.java
parentc2d6240642852362dc6e255d6396b9065e79762c (diff)
Check user states exist before package add/removal
It's possible for packages to be added/removed for a user even if they are not yet unlocked. This could cause a NPE, so we check beforehand and ignore if the the user states have not been initialized. This is fine because on user unlock, we get the most up to date package data anyway. Bug: 175829330 Test: atest AppHibernationService Change-Id: Ia29359d38325be5a40d84237fd7fc1b5ba356c5d
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions