Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 43e093216d3eb64ccf3d015b88fac70eec7007b9 1 parent 230cd32
Wink Saville authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/com/android/phone/PhoneInterfaceManager.java
View
5 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();
Please sign in to comment.
Something went wrong with that request. Please try again.