orderly_poweroff is not supported in GKI2.0
Change-Id: I2fa959f0abdacb2188c054c46e1a05c8d8c9813c
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/2112840
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
User an orderly shutdown for factory kill instead of a
kernel power off. The orderly shutdown will attempt to
call the reboot binary from userspace first, and then
fallback to kernel power off if it fails.
Change-Id: I52bac148c92a2aaf6a3929b4c1a2709e4b3421af
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/2108688
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key