diff options
author | Nathan Harold <nharold@google.com> | 2019-05-21 15:33:04 -0700 |
---|---|---|
committer | Nathan Harold <nharold@google.com> | 2019-05-21 16:50:00 -0700 |
commit | 39444b39ba9ff9ecb44c97b1f9f62544a316cd2b (patch) | |
tree | 0bea3d2487f45fcf3aa717d7273c39cbf3cc149f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 7aa28bd502d9382d56d348e5d50eabb1b36276fc (diff) |
Add permissions check for getNetworkType
-Add a function in TelephonyPermissions to check
READ_PHONE_STATE or return NETWORK_TYPE_UNKNOWN (soft denial).
-Honor the subId in TM or use the default DATA sub when
returning the network type.
Bug: 132466954
Test: cts - atest TelephonyManagerPermissionTest
Change-Id: I4e1767c9dc10acbadec286512752d4bb52059b74
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions