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

Commit 22feed52 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[test] fix GoogleBluetoothInstrumentationTests"

parents 11ac4276 594198b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@
         which is needed when building test cases. -->

    <application android:allowBackup="true"
                 android:autoRevokePermissions="disallowed">
                 android:autoRevokePermissions="disallowed" android:testOnly="true">
        <uses-library android:name="android.test.runner" />
        <uses-library android:name="org.apache.http.legacy" android:required="false" />
    </application>
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
        <option name="cleanup-apks" value="true" />
        <option name="test-file-name" value="BluetoothInstrumentationTests.apk" />
        <option name="install-arg" value="-t" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
        <option name="run-command" value="settings put global ble_scan_always_enabled 0" />
+2 −2
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />

    <application >
    <application android:testOnly="true">
        <uses-library android:name="android.test.runner" />
    </application>
    <instrumentation android:name="android.bluetooth.BluetoothTestRunner"
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
        <option name="cleanup-apks" value="true" />
        <option name="test-file-name" value="BluetoothTests.apk" />
        <option name="install-arg" value="-t" />
    </target_preparer>

    <option name="test-suite-tag" value="apct"/>