OSDN Git Service

Merge remote-tracking branch 'x86/nougat-x86' into cm-14.0-x86
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index 58aa432..2fbb8fe 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -232,6 +232,9 @@ function init_hal_sensors()
                *ST70416-6*)
                        set_property hal.sensors.iio.accel.matrix 0,-1,0,-1,0,0,0,0,-1
                        ;;
+               *ONDATablet*)
+                       set_property hal.sensors.iio.accel.matrix 0,1,0,1,0,0,0,0,-1
+                       ;;
                *)
                        ;;
        esac
@@ -398,6 +401,8 @@ function do_bootcomplete()
                        alsa_amixer -c $c set 'Internal Mic Boost' 3
                fi
        done
+
+       post_bootcomplete
 }
 
 function do_hci()