Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc7e9fa5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Use RunHostCommandTargetPreparer to enable TAPL""

parents 5ee226a2 545adf8d
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -13,12 +13,8 @@
        <option name="run-command" value="cmd window tracing level all" />
        <!-- inform WM to log all transactions -->
        <option name="run-command" value="cmd window tracing transaction" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.RunHostCommandTargetPreparer" >
        <!-- Prevent TAPL error for Nexus Launcher (http://go/tapl) -->
        <option name="host-setup-command" value="adb root" />
        <option name="host-setup-command" value="adb shell setprop ro.test_harness 1" />
        <option name="host-setup-command" value="adb shell am force-stop com.google.android.apps.nexuslauncher" />
        <!-- restart launcher to activate TAPL -->
        <option name="run-command" value="setprop ro.test_harness 1 ; am force-stop com.google.android.apps.nexuslauncher" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.DeviceCleaner">
        <!-- reboot the device to teardown any crashed tests -->