summaryrefslogtreecommitdiff
path: root/tests/FlickerTests
diff options
context:
space:
mode:
author Nataniel Borges <natanieljr@google.com> 2025-01-29 16:13:59 +0000
committer Nataniel Borges <natanieljr@google.com> 2025-01-29 09:47:09 -0800
commite4ca712bec7c1b7d559459d7f44f8dbcd3b59b19 (patch)
tree1dd3bc7d7fb79e726c7c4ebbb17a19eb4b73ac44 /tests/FlickerTests
parent8ee3a09473aa5db9d734252084ebbe041c7a0e9d (diff)
Disable smart auto rotate without using USER_CURRENT
Flag: TEST_ONLY Fixes: 390710551 Test: atest FlickerTestsNotification Change-Id: I8f1603b5e8e3a741a33932e3d4d3b47e667baf85
Diffstat (limited to 'tests/FlickerTests')
-rw-r--r--tests/FlickerTests/src/com/android/server/wm/flicker/BaseTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/BaseTest.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/BaseTest.kt
index 03d6ce88ac0c..18f44ddff086 100644
--- a/tests/FlickerTests/src/com/android/server/wm/flicker/BaseTest.kt
+++ b/tests/FlickerTests/src/com/android/server/wm/flicker/BaseTest.kt
@@ -51,8 +51,8 @@ constructor(
instrumentation.targetContext.contentResolver,
Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY,
0,
- UserHandle.USER_CURRENT
- );
+ UserHandle.USER_CURRENT_OR_SELF
+ )
}
private val logTag = this::class.java.simpleName