projects
/
platform
/
core
/
context
/
context-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91e3fe1
)
sensor: ignore anchor & interval of queries if the provider does not support them
11/78711/1
author
Mu-Woong Lee
<muwoong.lee@samsung.com>
Wed, 6 Jul 2016 12:23:08 +0000
(21:23 +0900)
committer
Mu-Woong Lee
<muwoong.lee@samsung.com>
Wed, 6 Jul 2016 12:23:08 +0000
(21:23 +0900)
Change-Id: I214e6344ea56a2b20204e72c721f765d889b5c25
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/sensor/Querier.cpp
patch
|
blob
|
history
diff --git
a/src/sensor/Querier.cpp
b/src/sensor/Querier.cpp
index
7cc0b9b
..
feec0b3
100644
(file)
--- a/
src/sensor/Querier.cpp
+++ b/
src/sensor/Querier.cpp
@@
-47,7
+47,8
@@
int Querier::query(int startTime, int endTime)
int Querier::query(int startTime, int endTime, int anchor, int interval)
{
- return ERR_INVALID_PARAMETER;
+ _D("Ignore anchor & interval");
+ return query(startTime, endTime);
}
void Querier::onTableCreated(unsigned int queryId, int error)