summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiServiceImpl.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/service/java/com/android/server/wifi/WifiServiceImpl.java b/service/java/com/android/server/wifi/WifiServiceImpl.java
index f4d08454d..d9c6ce020 100644
--- a/service/java/com/android/server/wifi/WifiServiceImpl.java
+++ b/service/java/com/android/server/wifi/WifiServiceImpl.java
@@ -4022,9 +4022,7 @@ public class WifiServiceImpl extends BaseWifiService {
if (!isPrivileged(Binder.getCallingPid(), Binder.getCallingUid())) {
throw new SecurityException(TAG + ": Permission denied");
}
- if (mVerboseLoggingEnabled) {
- mLog.info("connect uid=%").c(Binder.getCallingUid()).flush();
- }
+ mLog.info("connect uid=%").c(Binder.getCallingUid()).flush();
mClientModeImpl.connect(
config, netId, binder, callback, callbackIdentifier, Binder.getCallingUid());
}
@@ -4039,9 +4037,7 @@ public class WifiServiceImpl extends BaseWifiService {
if (!isPrivileged(Binder.getCallingPid(), Binder.getCallingUid())) {
throw new SecurityException(TAG + ": Permission denied");
}
- if (mVerboseLoggingEnabled) {
- mLog.info("connect uid=%").c(Binder.getCallingUid()).flush();
- }
+ mLog.info("save uid=%").c(Binder.getCallingUid()).flush();
mClientModeImpl.save(
config, binder, callback, callbackIdentifier, Binder.getCallingUid());
}
@@ -4055,9 +4051,7 @@ public class WifiServiceImpl extends BaseWifiService {
if (!isPrivileged(Binder.getCallingPid(), Binder.getCallingUid())) {
throw new SecurityException(TAG + ": Permission denied");
}
- if (mVerboseLoggingEnabled) {
- mLog.info("connect uid=%").c(Binder.getCallingUid()).flush();
- }
+ mLog.info("forget uid=%").c(Binder.getCallingUid()).flush();
mClientModeImpl.forget(
netId, binder, callback, callbackIdentifier, Binder.getCallingUid());
}