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

Commit bb9c9906 authored by Wyatt Riley's avatar Wyatt Riley
Browse files

Restoring Network Available Notification to AGnssRil

Bug: 33350903
Change-Id: I8fe0ddbd011689258890ce37e37271cc6f170c6a
Fixes: 33350903
Test: On device GPS-still-works check (Ril check to be done by partners)
parent cf81eac7
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -457,6 +457,7 @@ public class GnssLocationProvider implements LocationProviderInterface {
            if (mDownloadXtraDataPending == STATE_PENDING_NETWORK) {
                xtraDownloadRequest();
            }
            sendMessage(UPDATE_NETWORK_STATE, 0 /*arg*/, network);
        }
    };

@@ -467,11 +468,6 @@ public class GnssLocationProvider implements LocationProviderInterface {
     */
    private final ConnectivityManager.NetworkCallback mSuplConnectivityCallback =
            new ConnectivityManager.NetworkCallback() {
        @Override
        public void onAvailable(Network network) {
            sendMessage(UPDATE_NETWORK_STATE, 0 /*arg*/, network);
        }

        @Override
        public void onLost(Network network) {
            releaseSuplConnection(GPS_RELEASE_AGPS_DATA_CONN);