summaryrefslogtreecommitdiff
path: root/location
diff options
context:
space:
mode:
authorChengYou Ho <chengyouho@google.com>2019-07-04 14:49:24 +0800
committerChengYou Ho <chengyouho@google.com>2019-07-04 15:00:46 +0800
commit709263c923bd80fb570469d59d967cff0fe14a94 (patch)
tree6492c5008df54987f61267ac3fa5bb3520d52ccb /location
parentdc76408df249bd930d3fcf260b986af5989f248f (diff)
parent2625e7083ff118e8da856eb1dd04d39d2a527e22 (diff)
downloadgps-709263c923bd80fb570469d59d967cff0fe14a94.tar.gz
Merge remote-tracking branch 'goog/qcom/release/LA.UM.8.1.R1.09.00.00.529.057' into qt-r1-dev
Bug: 136707337 Change-Id: I6a5b2d92c938379c676c835037ed9c71cfd59f13
Diffstat (limited to 'location')
-rw-r--r--location/LocationAPIClientBase.cpp2
-rw-r--r--location/location_interface.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/location/LocationAPIClientBase.cpp b/location/LocationAPIClientBase.cpp
index 67e559b..5a09712 100644
--- a/location/LocationAPIClientBase.cpp
+++ b/location/LocationAPIClientBase.cpp
@@ -366,7 +366,7 @@ void LocationAPIClientBase::locAPIStopTracking()
mLocationAPI->stopTracking(session);
mTracking = false;
} else {
- LOC_LOGE("%s:%d] invalid session: %d.", __FUNCTION__, __LINE__, session);
+ LOC_LOGD("%s:%d] invalid session: %d.", __FUNCTION__, __LINE__, session);
}
}
pthread_mutex_unlock(&mMutex);
diff --git a/location/location_interface.h b/location/location_interface.h
index 80f37c2..fb15bea 100644
--- a/location/location_interface.h
+++ b/location/location_interface.h
@@ -87,6 +87,7 @@ struct GnssInterface {
void (*nfwInit)(const NfwCbInfo& cbInfo);
void (*getPowerStateChanges)(void* powerStateCb);
void (*injectLocationExt)(const GnssLocationInfoNotification &locationInfo);
+ void (*updateBatteryStatus)(bool charging);
};
struct BatchingInterface {