File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -586,17 +586,17 @@ export async function bringToFront(
586586) {
587587 // Wake the device up, so it's at least obviously locked if locked.
588588 // It's not possible to unlock the device over ADB. Does nothing if already awake.
589- await adbClient . shell ( [
589+ await run ( adbClient , [
590590 "input" , "keyevent" , "KEYCODE_WAKEUP"
591- ] ) ;
591+ ] , { skipLogging : true } ) ;
592592
593593 await delay ( 10 ) ;
594594
595595 // Bring the activity to the front, so we can interact with it (this will
596596 // silently fail if the device is locked, but we're ok with that).
597- await adbClient . shell ( [
597+ await run ( adbClient , [
598598 "am" , "start" , "--activity-single-top" , activityName
599- ] ) ;
599+ ] , { skipLogging : true } ) ;
600600}
601601
602602export async function startActivity (
You can’t perform that action at this time.
0 commit comments