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

Commit bbc64501 authored by Yu-Han Yang's avatar Yu-Han Yang
Browse files

Fix "NetworkCallback was not registered" crash

Bug: 233491431
Test: manual
Change-Id: I96f635b1a8e0b6bcded073ba0448aa50423afd45
parent 248de47f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -599,6 +599,7 @@ class GnssNetworkConnectivityHandler {
                    SUPL_NETWORK_REQUEST_TIMEOUT_MILLIS);
        } catch (RuntimeException e) {
            Log.e(TAG, "Failed to request network.", e);
            mSuplConnectivityCallback = null;
            handleReleaseSuplConnection(GPS_AGPS_DATA_CONN_FAILED);
        }
    }