diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2015-07-22 00:13:11 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2015-07-22 00:16:34 +0800 |
commit | 7be52b9636289a5440551faf89f4f20d31f493b8 (patch) | |
tree | 5835ad0cb8bfb5783334ba89f5cdfc313a1df7a2 | |
parent | 9a721ebaa9741f8d3846673df9c5acb2823ba8f9 (diff) | |
download | common-7be52b9636289a5440551faf89f4f20d31f493b8.tar.gz |
disablesuspend.sh: support check for Launcher3 when wait for home screen
this is for the running Nexus9 on LAVA
Change-Id: Id71963ac6935e784fe921559de9917e2b3b2400c
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-x | disablesuspend.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/disablesuspend.sh b/disablesuspend.sh index e850af7..32b0b2c 100755 --- a/disablesuspend.sh +++ b/disablesuspend.sh @@ -14,6 +14,9 @@ wait_home_screen(){ if logcat -d | grep -i "Displayed com.android.launcher/com.android.launcher2.Launcher:" ; then echo "Home screen should be displayed!" return 0 + elif logcat -d | grep -i "Displayed com.android.launcher3/.Launcher:" ; then + echo "Home screen should be displayed!" + return 0 fi timeout=$((timeout+1)) if [ $timeout = 180 ]; then |