commit | eb137aebc998cb6869d3679bec409746658d97c6 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Tue Sep 26 15:45:18 2017 +0900 |
committer | Chalard Jean <jchalard@google.com> | Thu Sep 28 16:34:39 2017 +0900 |
tree | d912cf7b540d0b5d07477a7a09d75c120a973e20 | |
parent | 3c0bf71eee048f5dbbab60337c69e0c74aaaa34c [diff] |
Do not throw on call to isTetheringSupported w/o permission ...just return false instead. 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 that it Test: doesn't with it. Merged-In: Ib5b17a7f68c1327f47fe1f54c0454c51f4226907 Change-Id: Id20d3c240ec5d70d085e0366b92ab3a514f3e7c8 (cherry picked from commit ffacaef81322fcdcaba54ec3c6b6026c23c6ff3c)