commit | 58f2815272bc569cae1ef25342115336908dbf36 | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Wed Sep 20 21:23:48 2017 +0100 |
committer | Tony Mak <tonymak@google.com> | Thu Sep 21 09:16:34 2017 +0000 |
tree | 832a4ad56592595ce9ef31ec72b4aaf3097cda63 | |
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