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

Commit db3ef675 authored by Ravneet's avatar Ravneet Committed by Ravneet Dhanjal
Browse files

Enable screen on and unlock for MediaFrameworkTest

- Update manifest to turn screen on and allow
tests to run when screen is locked to avoid failures in
cases where screen is off/locked

Test: Manual; Tested by running MediaFrameworkTest and
observed test pass with lock screen on
Bug: 234694229

Change-Id: I38e9f757554156a06f9ebf6a21410413f9a72995
parent b1d77602
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -29,7 +29,10 @@
        <activity android:label="@string/app_name"
             android:name="MediaFrameworkTest"
             android:screenOrientation="landscape"
             android:exported="true">
             android:exported="true"
             android:showWhenLocked="true"
             android:turnScreenOn="true"
             android:keepScreenOn="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
@@ -38,7 +41,10 @@
        <activity android:label="Camera2CtsActivity"
             android:name="Camera2SurfaceViewActivity"
             android:screenOrientation="landscape"
             android:configChanges="keyboardHidden|orientation|screenSize">
             android:configChanges="keyboardHidden|orientation|screenSize"
             android:showWhenLocked="true"
             android:turnScreenOn="true"
             android:keepScreenOn="true">
        </activity>
    </application>