From 3d1697d76fba99602d1905932571ccedda89af8f Mon Sep 17 00:00:00 2001 From: Arian Date: Mon, 19 Apr 2021 19:33:28 +0200 Subject: [PATCH] sm6150-common: rootdir: Enable PowerHAL hint processing Change-Id: I4de6ec81eaf002c094df53ff26ed24db02972dfe --- rootdir/bin/init.qcom.post_boot.sh | 3 +++ sepolicy/vendor/vendor_qti_init_shell.te | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 sepolicy/vendor/vendor_qti_init_shell.te diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh index d32162e..1f7f4db 100644 --- a/rootdir/bin/init.qcom.post_boot.sh +++ b/rootdir/bin/init.qcom.post_boot.sh @@ -301,4 +301,7 @@ case "$soc_id" in ;; esac +# Enable PowerHAL hint processing +setprop vendor.powerhal.init 1 + setprop vendor.post_boot.parsed 1 diff --git a/sepolicy/vendor/vendor_qti_init_shell.te b/sepolicy/vendor/vendor_qti_init_shell.te new file mode 100644 index 0000000..da60180 --- /dev/null +++ b/sepolicy/vendor/vendor_qti_init_shell.te @@ -0,0 +1,2 @@ +# To set powerhal init property +set_prop(vendor_qti_init_shell, vendor_power_prop)