summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSehee Park <sehee32.park@samsung.com>2018-07-05 05:27:15 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-07-05 05:27:15 -0700
commit0113c2ba129f57d166cf7a9e2a57afa2815cd3ab (patch)
treeb4dc1647b2363ee5c8a02df41d44550d727017c7
parent576e6a023c59f9464b21619f83e92b62a0ac7eb0 (diff)
parent681f11a7b2157179d889ca4bf25dcdb997d1f85d (diff)
Modify catch when addInterfaceToLocalNetwork() is called. am: 062203dc24
am: 681f11a7b2 Change-Id: I4ab655588ac266bd22c234e3718ee4089cfe7c9b
-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 c089c9c09..b0b225a61 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;