Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Allow carrier provisioning to turn toggle radio power.
Browse files Browse the repository at this point in the history
Previously CarrierProvisioning toggle airplane mode, but now that's
available only by the system.

Bug: 9356811
Change-Id: I5167f8614c07bafb688983a360a008f76403b2b8
  • Loading branch information
Wink Saville authored and The Android Automerger committed Jun 12, 2013
1 parent 044c82b commit 3c10474
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/com/android/phone/PhoneInterfaceManager.java
Expand Up @@ -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();
Expand Down

0 comments on commit 3c10474

Please sign in to comment.