diff options
author | Tony Mak <tonymak@google.com> | 2017-09-20 21:23:48 +0100 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2017-09-21 09:16:34 +0000 |
commit | 58f2815272bc569cae1ef25342115336908dbf36 (patch) | |
tree | 832a4ad56592595ce9ef31ec72b4aaf3097cda63 /rs/java/android/renderscript/ProgramStore.java | |
parent | 39198faea1b3b6b73f1db767be756ea2d1e68767 (diff) |
Use noteOpNoThrow instead in AMS
We just want a boolean result to tell whether a package has certain permissions,
we do not expect the check to throw SecurityException, so let's use
noteOpNoThrow instead.
Fixes: 65912167
Test: Disable Gmail, install a test app and run setPassword. No crash.
Change-Id: Ifc6e7fbbae1121bda329f0a291522af9698959db
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions