diff options
author | Mitchell Wills <mwills@google.com> | 2016-08-29 20:21:37 -0700 |
---|---|---|
committer | Mitchell Wills <mwills@google.com> | 2016-08-29 20:21:42 -0700 |
commit | e0d09999e9f36d6aca3705d012eddfdcbbb6f053 (patch) | |
tree | 5fadb35bfd331417e64c0c67e1f10d93fdffe75b /cmds/svc/src | |
parent | 30a891772096caa5d4184d20c86bf406e2748238 (diff) |
DO NOT MERGE Revert "Add WiFi toggle prompts - framework"
This reverts commit 40f8b9251831c5f009fd476b1a3d216e126d3ef0.
Change-Id: I9a1d861277e5d32405da5815c8b4e5d616febf10
Diffstat (limited to 'cmds/svc/src')
-rw-r--r-- | cmds/svc/src/com/android/commands/svc/WifiCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/svc/src/com/android/commands/svc/WifiCommand.java b/cmds/svc/src/com/android/commands/svc/WifiCommand.java index 633dd9787cb1..94214ff9694f 100644 --- a/cmds/svc/src/com/android/commands/svc/WifiCommand.java +++ b/cmds/svc/src/com/android/commands/svc/WifiCommand.java @@ -52,7 +52,7 @@ public class WifiCommand extends Svc.Command { IWifiManager wifiMgr = IWifiManager.Stub.asInterface(ServiceManager.getService(Context.WIFI_SERVICE)); try { - wifiMgr.setWifiEnabled("com.android.shell", flag); + wifiMgr.setWifiEnabled(flag); } catch (RemoteException e) { System.err.println("Wi-Fi operation failed: " + e); |