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

Commit e5f28772 authored by Gopinath Elanchezhian's avatar Gopinath Elanchezhian
Browse files

Move Tradefed content provider installation in preparer.

Pushing sample file in /sdcard automatically installs the
content provider. This is done to reduce noise during the second
test in the test suite.

Bug: b/164992819

Test: atest MultiUserPerfTest
Change-Id: I1dd583acc850e1233f06af50e28e2ebb0adc0df1
parent 63dd037e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@
    <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="push-file" key="trace_config_detailed.textproto" value="/data/misc/perfetto-traces/trace_config.textproto" />
        <!--Install the content provider automatically when we push some file in sdcard folder.-->
        <!--Needed to avoid the installation during the test suite.-->
        <option name="push-file" key="trace_config_detailed.textproto" value="/sdcard/sample.textproto" />
    </target_preparer>

    <!-- Needed for pulling the collected trace config on to the host -->