Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b84d4ec6 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Log Wifi NativeCommand exceptions" into gingerbread

parents 89951aa7 d0170f6a
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -782,7 +782,7 @@ public class WifiService extends IWifiManager.Stub {
                    setWifiApConfiguration(wifiConfig);
                    return true;
                } catch(Exception e) {
                    Slog.e(TAG, "Exception in nwService during AP restart");
                    Slog.e(TAG, "Exception in nwService during AP restart", e);
                    try {
                        nwService.stopAccessPoint();
                    } catch (Exception ee) {
@@ -835,7 +835,7 @@ public class WifiService extends IWifiManager.Stub {
                                               SOFTAP_IFACE);
                }
            } catch(Exception e) {
                Slog.e(TAG, "Exception in startAccessPoint()");
                Slog.e(TAG, "Exception in startAccessPoint()", e);
                setWifiApEnabledState(WIFI_AP_STATE_FAILED, uid, DriverAction.DRIVER_UNLOAD);
                return false;
            }
@@ -847,7 +847,7 @@ public class WifiService extends IWifiManager.Stub {
            try {
                nwService.stopAccessPoint();
            } catch(Exception e) {
                Slog.e(TAG, "Exception in stopAccessPoint()");
                Slog.e(TAG, "Exception in stopAccessPoint()", e);
                setWifiApEnabledState(WIFI_AP_STATE_FAILED, uid, DriverAction.DRIVER_UNLOAD);
                return false;
            }