Permalink
Browse files

Allow carrier provisioning to turn toggle radio power.

Previously CarrierProvisioning toggle airplane mode, but now that's
available only by the system.

Bug: 9356811
Change-Id: I5167f8614c07bafb688983a360a008f76403b2b8
  • Loading branch information...
1 parent 230cd32 commit 43e093216d3eb64ccf3d015b88fac70eec7007b9 Wink Saville committed Jun 10, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/com/android/phone/PhoneInterfaceManager.java
@@ -554,6 +554,11 @@ public boolean setRadio(boolean turnOn) {
}
return true;
}
+ public boolean setRadioPower(boolean turnOn) {
+ enforceModifyPermission();
+ mPhone.setRadioPower(turnOn);
+ return true;
+ }
public boolean enableDataConnectivity() {
enforceModifyPermission();

0 comments on commit 43e0932

Please sign in to comment.