summaryrefslogtreecommitdiffstats
path: root/wifi/java
diff options
context:
space:
mode:
authorJan Nordqvist <jannq@google.com>2015-07-31 15:32:25 -0700
committerJan Nordqvist <jannq@google.com>2015-07-31 17:19:49 -0700
commitf6d3d148d50562823e5f953ddd9c084266ac4c1b (patch)
tree2026cca9440eaa81a8a9060f742cef5f7f277450 /wifi/java
parentc35e670d5386eb6388eb4e65746b950265312e7a (diff)
downloadframeworks_base-f6d3d148d50562823e5f953ddd9c084266ac4c1b.zip
frameworks_base-f6d3d148d50562823e5f953ddd9c084266ac4c1b.tar.gz
frameworks_base-f6d3d148d50562823e5f953ddd9c084266ac4c1b.tar.bz2
Added logging in a few error paths for wifi config installation.
Bug: 22790527 Change-Id: I71b298b98da098f647f52886c3c3a7456cb24d51
Diffstat (limited to 'wifi/java')
-rw-r--r--wifi/java/android/net/wifi/WifiManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java
index d915e5d..cf88df4 100644
--- a/wifi/java/android/net/wifi/WifiManager.java
+++ b/wifi/java/android/net/wifi/WifiManager.java
@@ -669,6 +669,7 @@ public class WifiManager {
try {
return mService.getConfiguredNetworks();
} catch (RemoteException e) {
+ Log.w(TAG, "Caught RemoteException trying to get configured networks: " + e);
return null;
}
}
@@ -1589,6 +1590,7 @@ public class WifiManager {
try {
return mService.buildWifiConfig(uriString, mimeType, data);
} catch (RemoteException e) {
+ Log.w(TAG, "Caught RemoteException trying to build wifi config: " + e);
return null;
}
}