diff options
author | Chalard Jean <jchalard@google.com> | 2017-09-26 15:45:18 +0900 |
---|---|---|
committer | Chalard Jean <jchalard@google.com> | 2017-09-26 19:25:48 +0900 |
commit | 8f76fc38ec1682667de2caf3940fbfb71744d368 (patch) | |
tree | 71f169f2fad6239e884b66332c58c99b459ecd8e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d71227355e04076b84245c1978008be611bf97e8 (diff) |
Do not throw on call to isTetheringSupported w/o permission
...just return false instead. This will change in P.
Test: Made an app to test this. Made sure it doesn't have
Test: the required permission. Checked it crashes with
Test: SecurityException without this change. Checked it
Test: doesn't with it.
Bug: 65404184
Change-Id: Id20d3c240ec5d70d085e0366b92ab3a514f3e7c8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions