summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeongsik Mun <jeongsik.mun@samsung.com>2020-11-14 14:06:44 +0900
committerTodd Kennedy <toddke@google.com>2020-12-02 14:01:40 -0800
commitdea7086695dfa40bccd7bd623d05a6119f92b481 (patch)
treed54e5312702f7b1a5397997efc87051811b7ee52 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1d2102b50363d71d6db0a9eaafe08aa3e1a69eac (diff)
Fix system server crash during sendMyPackageSuspendedOrUnsuspended()
IllegalArgumentException could be thrown when the package doesn't exist from getSuspendedPackageAppExtrasInternal(), which causes system server crash This fix replaces throwing IllegalStateException with returning null, instead of handling the exception. Returning null when the package doesn't exist still operates according to the public contact since an uninstalled application would not be considered 'suspended'. Bug: 171906179 Test: compile & verify basic functions working Change-Id: I9b23c17530393a0f51e283d0bc2c44966ddf6298
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions