summaryrefslogtreecommitdiff
path: root/core/ContextBase.h
diff options
context:
space:
mode:
authorKevin Tang <zhikait@codeaurora.org>2015-01-19 16:22:28 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2015-09-02 10:09:14 -0700
commit623f5a6fc56486d07f7972b5c6d3c294fde5438c (patch)
treeed4abbd13757204585b17ab8f326fb6a13f5cdcd /core/ContextBase.h
parent5e7710897247c8c8da6bed8cdcc7dc43698e2937 (diff)
downloadgps-623f5a6fc56486d07f7972b5c6d3c294fde5438c.tar.gz
adding dev id into xtra user agent
setting XTRA_USER_AGENT at GPS HAL init time, incorporating Android sw version, manufacturer, model, board. CRs-Fixed: 788356 Change-Id: I8d9dcc80a0769796a25a0477f5f1598a292fe8b0
Diffstat (limited to 'core/ContextBase.h')
-rw-r--r--core/ContextBase.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/ContextBase.h b/core/ContextBase.h
index ff7a4b3..fe0b860 100644
--- a/core/ContextBase.h
+++ b/core/ContextBase.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -63,6 +63,9 @@ public:
unsigned long capabilities) {
mLBSProxy->requestUlp(adapter, capabilities);
}
+ inline IzatDevId_t getIzatDevId() const {
+ return mLBSProxy->getIzatDevId();
+ }
inline void sendMsg(const LocMsg *msg) { getMsgTask()->sendMsg(msg); }
};