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

Commit e4ca712b authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Disable smart auto rotate without using USER_CURRENT

Flag: TEST_ONLY
Fixes: 390710551
Test: atest FlickerTestsNotification
Change-Id: I8f1603b5e8e3a741a33932e3d4d3b47e667baf85
parent 8ee3a094
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -51,8 +51,8 @@ constructor(
            instrumentation.targetContext.contentResolver,
            instrumentation.targetContext.contentResolver,
            Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY,
            Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY,
            0,
            0,
            UserHandle.USER_CURRENT
            UserHandle.USER_CURRENT_OR_SELF
        );
        )
    }
    }


    private val logTag = this::class.java.simpleName
    private val logTag = this::class.java.simpleName