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

Commit 3ee89e20 authored by Lucas Silva's avatar Lucas Silva
Browse files

Fix test breakage when glanceable hub is enabled is set.

When glanceable hub is enabled, the device will transition from dozing->glanceable hub instead of dozing->lockscreen.

Bug: 392893049
Test: com.android.server.wm.flicker.rotation.OpenShowWhenLockedSeamlessAppRotationTest
Flag: EXEMPT test fix

Change-Id: I08ea3c0f98c25c77bf680f3ddf9505bc6ae1ecac
parent 9a72466a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -52,10 +52,12 @@
        <option name="run-command" value="settings put secure show_ime_with_hard_keyboard 1"/>
        <option name="run-command" value="settings put system show_touches 1"/>
        <option name="run-command" value="settings put system pointer_location 1"/>
        <option name="run-command" value="settings put secure glanceable_hub_enabled 0"/>
        <option name="teardown-command"
                value="settings delete secure show_ime_with_hard_keyboard"/>
        <option name="teardown-command" value="settings delete system show_touches"/>
        <option name="teardown-command" value="settings delete system pointer_location"/>
        <option name="teardown-command" value="settings delete secure glanceable_hub_enabled"/>
        <option name="teardown-command"
                value="cmd overlay enable com.android.internal.systemui.navbar.gestural"/>
    </target_preparer>
+2 −0
Original line number Diff line number Diff line
@@ -50,10 +50,12 @@
        <option name="run-command" value="settings put secure show_ime_with_hard_keyboard 1"/>
        <option name="run-command" value="settings put system show_touches 1"/>
        <option name="run-command" value="settings put system pointer_location 1"/>
        <option name="run-command" value="settings put secure glanceable_hub_enabled 0"/>
        <option name="teardown-command"
                value="settings delete secure show_ime_with_hard_keyboard"/>
        <option name="teardown-command" value="settings delete system show_touches"/>
        <option name="teardown-command" value="settings delete system pointer_location"/>
        <option name="teardown-command" value="settings delete secure glanceable_hub_enabled"/>
        <option name="teardown-command"
                value="cmd overlay enable com.android.internal.systemui.navbar.gestural"/>
    </target_preparer>