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

Commit d0170f6a authored by Tanguy Pruvot's avatar Tanguy Pruvot
Browse files

Log Wifi NativeCommand exceptions

Change-Id: I216b1965ea2c7d4924da63c1829957b68d9e900f
parent afffa0f2
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;
            }