commit | 3dde71f506a35465bd8034794556df1ac300017e | [log] [tgz] |
---|---|---|
author | Robert Greenwalt <rgreenwalt@google.com> | Tue Jan 07 16:18:29 2020 -0800 |
committer | Sarah Chin <sarahchin@google.com> | Tue Mar 17 13:12:34 2020 -0700 |
tree | cf71b4b48f94f7358cbd90d682e987a666b2f9e1 | |
parent | 70d266df9b7be2ae2aad7cb20c51b1bcc0c296ae [diff] |
Move getMsisdn and getLine1Number to READ_PHONE_NUMBERS This is done to get dangerous stuff off the READ_PHONE_STATE permission. Also keeping READ_PHONE_STATE for apps targeting old SDK versions. Refactored getPhoneNumber to allow READ_PHONE_STATE pre-R Bug: 136160623 Test: atest SubInfoControllerTest, TelephonyPermissionsTest Change-Id: I5c0adcbe432ffcbb22ac8959792ee60da7039f15