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

Commit 47c4f73a authored by Yu-Han Yang's avatar Yu-Han Yang Committed by Automerger Merge Worker
Browse files

DO NOT MERGE: Call handleInitialize() in the end of constructor am: aa4ec3c8 am: 0ea1a14e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11960757

Change-Id: I4ff694024a3cbc2300b03f0c242e6d3685c0c0ab
parents dd39cdd8 0ea1a14e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -678,8 +678,6 @@ public class GnssLocationProvider extends AbstractLocationProvider implements
        mNetworkConnectivityHandler = new GnssNetworkConnectivityHandler(context,
                GnssLocationProvider.this::onNetworkAvailable, mLooper, mNIHandler);

        sendMessage(INITIALIZE_HANDLER, 0, null);

        mGnssStatusListenerHelper = new GnssStatusListenerHelper(mContext, mHandler) {
            @Override
            protected boolean isAvailableInPlatform() {
@@ -746,6 +744,8 @@ public class GnssLocationProvider extends AbstractLocationProvider implements

        setProperties(PROPERTIES);
        setAllowed(true);

        sendMessage(INITIALIZE_HANDLER, 0, null);
    }

    /**