summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSehee Park <sehee32.park@samsung.com>2018-07-05 05:15:54 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-07-05 05:15:54 -0700
commit681f11a7b2157179d889ca4bf25dcdb997d1f85d (patch)
treea6115ac6a8bca8b3bd1ee39133b32b390fc3e01a
parent4da7d3f6922318e91ef0dfe7876f43fb7f473d12 (diff)
parent062203dc24be0b88f4e3b1feef0d2d00ef9979dd (diff)
Modify catch when addInterfaceToLocalNetwork() is called.
am: 062203dc24 Change-Id: I0d9264f5114b934f76e46a8107f20121b6fac5b1
-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;