done
case "$PRODUCT" in
+ T100TAF)
+ set_property bluetooth.interface hci1
+ ;;
T10*TA|M80TA|HP*Omni*)
BTUART_PORT=/dev/ttyS1
set_property hal.bluetooth.uart.proto bcm
*ST70416-6*)
set_property ro.iio.accel.order 102
;;
- *T10*TA*)
+ *T*0*TA*|*pnEZpad*)
set_property ro.iio.accel.y.opt_scale -1
;;
*)
hal_sensors=hdaps
has_sensors=true
elif [ "$hal_sensors" != "kbd" ]; then
- has_sensors=${HAS_SENSORS:-true}
+ has_sensors=true
fi
set_property ro.hardware.sensors $hal_sensors
- set_property config.override_forced_orient $has_sensors
+ set_property config.override_forced_orient ${HAS_SENSORS:-$has_sensors}
}
function create_pointercal()
function do_bootcomplete()
{
+ hciconfig | grep -q hci || pm disable com.android.bluetooth
+
init_cpu_governor
[ -z "$(getprop persist.sys.root_access)" ] && setprop persist.sys.root_access 3
setkeycodes 0x66 172
setkeycodes 0x6b 127
;;
+ VMware*)
+ pm disable com.android.bluetooth
+ ;;
*)
;;
esac