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

Commit 237174fb authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

InputTests: Disable the white balance adjustments

The display white balance setting seems to impact VirtualDisplays, and
the color filter will show up in the VirtualDisplay screenshots.

Disable the setting hermetically to avoid its impact to the test suite.

Bug: 402659234
Test: Presubmit
Flag: TEST_ONLY
Change-Id: I0ade9e9771671fc2c305caf4718f47c2ecb59908
parent 6f1f1631
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -10,11 +10,13 @@
        <option name="screen-always-on" value="on" />
        <!-- prevents the phone from restarting -->
        <option name="force-skip-system-props" value="true" />
        <!-- disables white balance corrections since they may affect screenshot tests -->
        <option name="set-secure-setting" key="display_white_balance_enabled" value="0" />
        <option name="restore-settings" value="true" />
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
        <option name="cleanup-apks" value="true"/>
        <option name="test-file-name" value="InputTests.apk"/>

    </target_preparer>
    <test class="com.android.tradefed.testtype.AndroidJUnitTest">
        <option name="package" value="com.android.test.input"/>