diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2017-09-19 22:20:11 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2017-09-19 22:20:11 +0800 |
commit | db3ebdbefd958e268e8f61a027bbf25cf45d07df (patch) | |
tree | 31d2644b040f83de2850c7bac55849f93271dc79 /automated/android/boottime/boottime.sh | |
parent | 75e00176ad5c288dfa9c466ad863de067389ce0a (diff) |
boottime: run disablesuspend.sh if it exists
Change-Id: I32513538cf7f036255db7b26709450b1296ea6a3
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'automated/android/boottime/boottime.sh')
-rwxr-xr-x | automated/android/boottime/boottime.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/automated/android/boottime/boottime.sh b/automated/android/boottime/boottime.sh index 2d271c7..bc70088 100755 --- a/automated/android/boottime/boottime.sh +++ b/automated/android/boottime/boottime.sh @@ -28,6 +28,12 @@ done initialize_adb wait_boot_completed "${BOOT_TIMEOUT}" + +# call disablesuspend.sh if it exists +if adb_shell_which disablesuspend.sh; then + adb shell /system/bin/disablesuspend.sh +fi + create_out_dir "${OUTPUT}" install_deps 'curl tar xz-utils' "${SKIP_INSTALL}" |