update
Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
This commit is contained in:
parent
f2039d631c
commit
7c16407aad
|
|
@ -98,5 +98,5 @@ data_sources: {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
duration_ms: 8000
|
duration_ms: 80000
|
||||||
|
|
||||||
|
|
|
||||||
2
run.sh
2
run.sh
|
|
@ -92,6 +92,8 @@ for round in $(seq 1 $cycle); do
|
||||||
activity="com.qiyi.video/com.qiyi.video.WelcomeActivity"
|
activity="com.qiyi.video/com.qiyi.video.WelcomeActivity"
|
||||||
elif [ "$app" == "com.netease.cloudmusic" ]; then
|
elif [ "$app" == "com.netease.cloudmusic" ]; then
|
||||||
activity="com.netease.cloudmusic/com.netease.cloudmusic.activity.IconChangeDefaultAlias"
|
activity="com.netease.cloudmusic/com.netease.cloudmusic.activity.IconChangeDefaultAlias"
|
||||||
|
elif [ "$app" == "com.ss.android.ugc.aweme.lite" ]; then
|
||||||
|
activity="com.ss.android.ugc.aweme.lite/com.ss.android.ugc.aweme.splash.SplashActivity"
|
||||||
else
|
else
|
||||||
activity=$(adb shell dumpsys package $app | grep -A 1 -w "android.intent.action.MAIN:" | head -n 2 | tail -n 1 | awk '{print $2}')
|
activity=$(adb shell dumpsys package $app | grep -A 1 -w "android.intent.action.MAIN:" | head -n 2 | tail -n 1 | awk '{print $2}')
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue