Commit f2bf28c5 authored by liuyang's avatar liuyang

APK抓包>从频道1开始依次抓取

#BYLSERVER-1693
Close BYLSERVER-1693
parent 524ed6a7
......@@ -212,8 +212,10 @@ object AdbUtil {
val keys = keyPath.split(Constants.SLASH)
for (stepKey in keys) {
var delay = "2"
var key = stepKey
if (Constants.VERTICAL_BAR in stepKey) {
val params = stepKey.split(Constants.VERTICAL_BAR)
key = params[0]
delay = params[1]
}
......@@ -227,7 +229,7 @@ object AdbUtil {
}
} else {
val keyEvent = EmulateKey()
keyEvent.key = stepKey
keyEvent.key = key
keyEvent.delay = delay
keyEvents.add(keyEvent)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment