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

Commit 25e72b35 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix bug in error checking in GnssLocationProvider"

parents 35fe82fd 388e968a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1175,7 +1175,7 @@ static jboolean android_location_GnssLocationProvider_init(JNIEnv* env, jobject
    }

    sp<IGnssNiCallback> gnssNiCbIface = new GnssNiCallback();
    if (gnssNiCbIface != nullptr) {
    if (gnssNiIface != nullptr) {
        gnssNiIface->setCallback(gnssNiCbIface);
    } else {
        ALOGE("Unable to initialize GNSS NI interface\n");