Fix bug #6293328 android.view.cts.ViewTest#testLayoutDirection fails on JRN04 soju-userdebug
- update unit test to reflect the new value for the mask
Change-Id: Id40c0ab7d0779a0653a516baf40beeb9d16c2d4e
diff --git a/tests/tests/view/src/android/view/cts/ViewTest.java b/tests/tests/view/src/android/view/cts/ViewTest.java
index 643b86a..2bcb4e7 100644
--- a/tests/tests/view/src/android/view/cts/ViewTest.java
+++ b/tests/tests/view/src/android/view/cts/ViewTest.java
@@ -3085,9 +3085,9 @@
view.setLayoutDirection(View.LAYOUT_DIRECTION_LOCALE);
assertEquals(View.LAYOUT_DIRECTION_LOCALE, view.getLayoutDirection());
- // View.LAYOUT_DIRECTION_MASK = 0xC0000000
+ // View.LAYOUT_DIRECTION_MASK = 0x00000003
view.setLayoutDirection(0xffffffff);
- assertEquals(0xC0000000, view.getLayoutDirection());
+ assertEquals(0x00000003, view.getLayoutDirection());
}
private static class MockEditText extends EditText {