device/generic/common
Revision | 5cfaa3b012fcff04896ddbc8f12f2ff498c04f94 (tree) |
---|---|
Zeit | 2018-03-29 17:01:24 |
Autor | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
@@ -55,7 +55,7 @@ function init_hal_bluetooth() | ||
55 | 55 | done |
56 | 56 | |
57 | 57 | case "$PRODUCT" in |
58 | - T10*TA|HP*Omni*) | |
58 | + T10*TA|M80TA|HP*Omni*) | |
59 | 59 | BTUART_PORT=/dev/ttyS1 |
60 | 60 | set_property hal.bluetooth.uart.proto bcm |
61 | 61 | ;; |
@@ -256,7 +256,7 @@ function init_hal_sensors() | ||
256 | 256 | modprobe hdaps |
257 | 257 | hal_sensors=hdaps |
258 | 258 | ;; |
259 | - *i7Stylus*) | |
259 | + *i7Stylus*|*M80TA*) | |
260 | 260 | set_property ro.iio.accel.x.opt_scale -1 |
261 | 261 | ;; |
262 | 262 | *ONDATablet*) |
@@ -377,6 +377,8 @@ function do_netconsole() | ||
377 | 377 | |
378 | 378 | function do_bootcomplete() |
379 | 379 | { |
380 | + hciconfig | grep -q hci || pm disable com.android.bluetooth | |
381 | + | |
380 | 382 | init_cpu_governor |
381 | 383 | |
382 | 384 | [ -z "$(getprop persist.sys.root_access)" ] && setprop persist.sys.root_access 3 |