commit | 8f76fc38ec1682667de2caf3940fbfb71744d368 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Tue Sep 26 15:45:18 2017 +0900 |
committer | Chalard Jean <jchalard@google.com> | Tue Sep 26 19:25:48 2017 +0900 |
tree | 71f169f2fad6239e884b66332c58c99b459ecd8e | |
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