msm8226-common: Make sure graphics HAL services started before mounting data

Bug: 36409349

Signed off by: Nolen Johnson <johnsonnolen@gmail.com>

Change-Id: I1df0bd7878c7d67d3695ad1644c6b928cee0e323
This commit is contained in:
Wei Wang 2018-06-18 23:26:02 -04:00 committed by Roman Rihter
parent 20c862831e
commit 545fca6a42

View file

@ -65,13 +65,21 @@ on fs
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1 write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059 write /sys/module/lowmemorykiller/parameters/vmpressure_file_min 53059
# Start HW service manager early
start hwservicemanager
on late-fs on late-fs
# Start services for bootanim # Start services for bootanim
start hwservicemanager
start servicemanager start servicemanager
start surfaceflinger start surfaceflinger
start bootanim start bootanim
# mount RW partitions which need run fsck
# Make sure HW service manager started and start required HAL services
wait_for_prop hwservicemanager.ready true
start configstore-hal-1-0
start gralloc-2-0
# Mount RW partitions which need run fsck
mount_all /vendor/etc/fstab.qcom --late mount_all /vendor/etc/fstab.qcom --late
on post-fs on post-fs