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

Commit c46f6012 authored by Nataniel Borges's avatar Nataniel Borges Committed by Android (Google) Code Review
Browse files

Merge "Grant camera permissions at the start of the test" into main

parents 767a68e9 f7bb8441
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@
        <!-- Increase trace size: 20mb for WM and 80mb for SF -->
        <option name="run-command" value="cmd window tracing size 20480"/>
        <option name="run-command" value="su root service call SurfaceFlinger 1029 i32 81920"/>
        <!-- b/307664397 - Ensure camera has the correct permissions and doesn't show a dialog -->
        <option name="run-command"
                value="pm grant com.google.android.GoogleCamera android.permission.ACCESS_FINE_LOCATION"/>
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
        <option name="test-user-token" value="%TEST_USER%"/>
+3 −0
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@
        <!-- Increase trace size: 20mb for WM and 80mb for SF -->
        <option name="run-command" value="cmd window tracing size 20480"/>
        <option name="run-command" value="su root service call SurfaceFlinger 1029 i32 81920"/>
        <!-- b/307664397 - Ensure camera has the correct permissions and doesn't show a dialog -->
        <option name="run-command"
                value="pm grant com.google.android.GoogleCamera android.permission.ACCESS_FINE_LOCATION"/>
    </target_preparer>
    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
        <option name="test-user-token" value="%TEST_USER%"/>