commit | afeaf7d1d4a9e0a9181e65eb20b2c14f2bafa0e4 | [log] [tgz] |
---|---|---|
author | Shuo Qian <shuoq@google.com> | Tue Dec 10 10:40:38 2019 -0800 |
committer | sqian <shuoq@google.com> | Thu Dec 12 11:43:54 2019 -0800 |
tree | d54275466933ee8a08f9311de97c629afb01ede4 | |
parent | 1bfb17e370d6c025e64e36515bd6fb54bc3ea0ff [diff] [blame] |
Add Permission for needMobileRadioShutdown Test: cts Bug: 145554073 Change-Id: I483e6ca4c73a56c5fdc0ab24cea14b3b503d75e0 Merged-In: I483e6ca4c73a56c5fdc0ab24cea14b3b503d75e0 (cherry picked from commit fa7b6b3815c61ac7c73e5e7874b9b0243183da77)
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java index 2c0c5de..318e086 100755 --- a/src/com/android/phone/PhoneInterfaceManager.java +++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -1777,6 +1777,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.