From f6d3d148d50562823e5f953ddd9c084266ac4c1b Mon Sep 17 00:00:00 2001 From: Jan Nordqvist Date: Fri, 31 Jul 2015 15:32:25 -0700 Subject: Added logging in a few error paths for wifi config installation. Bug: 22790527 Change-Id: I71b298b98da098f647f52886c3c3a7456cb24d51 --- wifi/java/android/net/wifi/WifiManager.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wifi/java') 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; } } -- cgit v1.1