OSDN Git Service
(root)
/
android-x86
/
hardware-libsensors.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76cd154
)
kbdsensor: fix building issues on Android 5.0
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Mon, 20 Oct 2014 10:20:36 +0000
(18:20 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 6 Nov 2014 03:29:26 +0000
(11:29 +0800)
More fields are added to struct sensor_t.
kbdsensor.cpp
patch
|
blob
|
history
diff --git
a/kbdsensor.cpp
b/kbdsensor.cpp
index
7187e7c
..
578b881
100644
(file)
--- a/
kbdsensor.cpp
+++ b/
kbdsensor.cpp
@@
-306,6
+306,10
@@
static struct sensor_t sSensorListInit[] = {
minDelay: 0,
fifoReservedEventCount: 0,
fifoMaxEventCount: 0,
+ stringType: SENSOR_STRING_TYPE_ACCELEROMETER,
+ requiredPermission: "",
+ maxDelay: 0,
+ flags: SENSOR_FLAG_ONE_SHOT_MODE,
reserved: { }
}
};