Skip to content

Commit f6d3d14

Browse files
author
Jan Nordqvist
committed
Added logging in a few error paths for wifi config installation.
Bug: 22790527 Change-Id: I71b298b98da098f647f52886c3c3a7456cb24d51
1 parent c35e670 commit f6d3d14

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wifi/java/android/net/wifi/WifiManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ public List<WifiConfiguration> getConfiguredNetworks() {
669669
try {
670670
return mService.getConfiguredNetworks();
671671
} catch (RemoteException e) {
672+
Log.w(TAG, "Caught RemoteException trying to get configured networks: " + e);
672673
return null;
673674
}
674675
}
@@ -1589,6 +1590,7 @@ public WifiConfiguration buildWifiConfig(String uriString, String mimeType, byte
15891590
try {
15901591
return mService.buildWifiConfig(uriString, mimeType, data);
15911592
} catch (RemoteException e) {
1593+
Log.w(TAG, "Caught RemoteException trying to build wifi config: " + e);
15921594
return null;
15931595
}
15941596
}

0 commit comments

Comments
 (0)