commit | ef60dba70ae973c4e511a305886f7dfe432b9277 | [log] [tgz] |
---|---|---|
author | Nathan Harold <nharold@google.com> | Wed May 22 13:55:14 2019 -0700 |
committer | Nathan Harold <nharold@google.com> | Wed May 22 13:55:14 2019 -0700 |
tree | 42aca2de1abf99b7690a64ea1b7f7399c76d9194 | |
parent | b3a3a8014e1a83f9eb741e5c0d6b3a3120824818 [diff] |
Require READ_PHONE_STATE for getNetworkType in R+ Starting with R, apps targeting the R SDK will get a SecurityException (rather than a silent failure) if they do not declare the READ_PHONE_STATE permission. Bug: 132466954 Test: atest TelephonyManagerPermissionTest Change-Id: I4c06808347ab3749eb3c0d885e7269cb4a3e2ee0