summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Anil Admal <aadmal@google.com> 2019-04-24 08:57:59 -0700
committer Anil Admal <aadmal@google.com> 2019-04-24 16:07:48 +0000
commit060f573c964768bc8ef73ca9f651efc2064ccf1f (patch)
tree1b669a4d957aa571bb7c5f7e2cc2c903705e74b3
parent5acc2403203d1aa2882da69c8f2957c1edeea7dd (diff)
Pass responseType in NFW notification callback to the framework
Bug: 131153085 Test: Manual verification Change-Id: I7a0310802f18595feedee32de23041080306dc56
-rw-r--r--services/core/jni/com_android_server_location_GnssLocationProvider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/jni/com_android_server_location_GnssLocationProvider.cpp b/services/core/jni/com_android_server_location_GnssLocationProvider.cpp
index b470ec7a00ba..7bc6776803a3 100644
--- a/services/core/jni/com_android_server_location_GnssLocationProvider.cpp
+++ b/services/core/jni/com_android_server_location_GnssLocationProvider.cpp
@@ -1285,7 +1285,7 @@ Return<void> GnssVisibilityControlCallback::nfwNotifyCb(
if (proxyAppPackageName && otherProtocolStackName && requestorId) {
env->CallVoidMethod(mCallbacksObj, method_reportNfwNotification, proxyAppPackageName,
notification.protocolStack, otherProtocolStackName,
- notification.requestor, requestorId,
+ notification.requestor, requestorId, notification.responseType,
notification.inEmergencyMode, notification.isCachedLocation);
} else {
ALOGE("%s: OOM Error\n", __func__);