Merge "Add logging to capture wifi enable" into jb-dev

This commit is contained in:
Irfan Sheriff
2012-05-16 13:52:29 -07:00
committed by Android (Google) Code Review

View File

@@ -562,6 +562,8 @@ public class WifiService extends IWifiManager.Stub {
*/
public synchronized boolean setWifiEnabled(boolean enable) {
enforceChangePermission();
Slog.d(TAG, "setWifiEnabled: " + enable + " pid=" + Binder.getCallingPid()
+ ", uid=" + Binder.getCallingUid());
if (DBG) {
Slog.e(TAG, "Invoking mWifiStateMachine.setWifiEnabled\n");
}