commit | ba2e174009cef70f4886179bf92c1fa2b75cb9c0 | [log] [tgz] |
---|---|---|
author | Grace Jia <xiaotonj@google.com> | Wed Apr 21 17:01:53 2021 -0700 |
committer | Grace Jia <xiaotonj@google.com> | Mon Jun 21 18:40:14 2021 +0000 |
tree | 56eb4372aba6926c179249b813db436c369b4f8e | |
parent | 9d9a830ab981685d806d3fcf7eebc642b5afde43 [diff] |
Protect TelecomManager#getPhoneAccount with necessary permission. Apps targeting API version 31+ should have READ_PHONE_NUMBERS to call method getPhoneAccount. Bug: 183407956 Test: UnitTest, CTS test Change-Id: I60c37687d8ee0b04129f0393a19e0fd4961990e5 (cherry picked from commit 11a19742d03d766567f281dcf31e4efa5b4d636b)