summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSehee Park <sehee32.park@samsung.com>2018-07-05 05:36:34 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-07-05 05:36:34 -0700
commitc4e9890fd11d88bc33070f3262333bbffb547e7b (patch)
tree32586f5bdd401de3812cf7db89c2ce9847a6a97a
parent5aff247b8d21956177fbdd5786fc169a49196f2f (diff)
parent0113c2ba129f57d166cf7a9e2a57afa2815cd3ab (diff)
Modify catch when addInterfaceToLocalNetwork() is called. am: 062203dc24 am: 681f11a7b2
am: 0113c2ba12 Change-Id: I898c72b314ebb283261b4cd3b7121a6aff28d42a
-rw-r--r--service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java b/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java
index 9159230b3..e7f3bc979 100644
--- a/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java
+++ b/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java
@@ -2253,7 +2253,7 @@ public class WifiP2pServiceImpl extends IWifiP2pManager.Stub {
mNwService.addInterfaceToLocalNetwork(
ifname, mDhcpResults.getRoutes(ifname));
}
- } catch (RemoteException e) {
+ } catch (Exception e) {
loge("Failed to add iface to local network " + e);
}
break;