commit | fa7b6b3815c61ac7c73e5e7874b9b0243183da77 | [log] [tgz] |
---|---|---|
author | Shuo Qian <shuoq@google.com> | Tue Dec 10 10:40:38 2019 -0800 |
committer | Shuo Qian <shuoq@google.com> | Tue Dec 10 10:40:38 2019 -0800 |
tree | ae4080ac0e7fedf8fa39acdfaac047340fefa6fe | |
parent | 4c9dc4e0871075632d719be5459b9a31d56c427e [diff] |
Add Permission for needMobileRadioShutdown Test: cts Bug: 145554073 Change-Id: I483e6ca4c73a56c5fdc0ab24cea14b3b503d75e0
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java index d25a1b7..8c7b622 100755 --- a/src/com/android/phone/PhoneInterfaceManager.java +++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -1788,6 +1788,7 @@ } public boolean needMobileRadioShutdown() { + enforceReadPrivilegedPermission("needMobileRadioShutdown"); /* * If any of the Radios are available, it will need to be * shutdown. So return true if any Radio is available.