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

Commit 8d6eb1fd authored by Jaekyun Seok's avatar Jaekyun Seok Committed by Android (Google) Code Review
Browse files

Merge "Add AgnssRil initialization"

parents a420ae65 f9038ad7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1207,6 +1207,13 @@ static jboolean android_location_GnssLocationProvider_init(JNIEnv* env, jobject
        ALOGE("Unable to initialize GNSS NI interface\n");
    }

    sp<IAGnssRilCallback> aGnssRilCbIface = new AGnssRilCallback();
    if (agnssRilIface != nullptr) {
        agnssRilIface->setCallback(aGnssRilCbIface);
    } else {
        ALOGI("Unable to Initialize AGnss Ril interface\n");
    }

    return JNI_TRUE;
}