Skip to content

Commit cb9c094

Browse files
Jan NordqvistAndroid (Google) Code Review
authored andcommitted
Merge "Added logging in a few error paths for wifi config installation." into mnc-dev
2 parents 6e75e7d + f6d3d14 commit cb9c094

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)