OSDN Git Service
(root)
/
android-x86
/
device-generic-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc1a672
)
Revert "init: Fix sensors never detected when not available at first boot"
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 29 Jul 2016 03:46:46 +0000
(11:46 +0800)
committer
Chih-Wei Huang
<cwhuang@linux.org.tw>
Fri, 29 Jul 2016 03:46:46 +0000
(11:46 +0800)
It should be fixed in sensors.hsb directly.
This reverts commit
cc1a67274cc608e1f7f5cbaa08f7bec90fafdeb3
.
init.sh
patch
|
blob
|
history
diff --git
a/init.sh
b/init.sh
index
3bf7051
..
caec377
100644
(file)
--- a/
init.sh
+++ b/
init.sh
@@
-236,7
+236,7
@@
function init_hal_sensors()
elif lsmod | grep -q lis3lv02d_i2c; then
hal_sensors=hdaps
fi
elif lsmod | grep -q lis3lv02d_i2c; then
hal_sensors=hdaps
fi
- set_property persist.sys.sensors.iio.present 1
+
set_property ro.hardware.sensors $hal_sensors
}
set_property ro.hardware.sensors $hal_sensors
}