Revert change to rotateBounds

Reason: Breaking Tapl tests.

Bug: 353965234
Flag: EXEMPT bugfix
Test: UtilitiesTest.kt
Change-Id: I2c513a190e5e9cba3f27b14c3835d3b039241467
This commit is contained in:
Sebastian Franco committed 2024-07-22 15:18:48 -07:00
1 parent 1749bf0308
commit 28e89bd10f
2 files changed
+6 -7

No files matched your search

@@ -376,9 +376,10 @@ class UtilitiesTest {
Utilities.rotateBounds(rect, 100, 100, 1)
assertEquals(Rect(70, 40, 80, 80), rect)
rect = Rect(20, 70, 60, 80)
Utilities.rotateBounds(rect, 100, 100, 2)
assertEquals(Rect(40, 20, 80, 30), rect)
// case removed for b/28435189
// rect = Rect(20, 70, 60, 80)
// Utilities.rotateBounds(rect, 100, 100, 2)
// assertEquals(Rect(40, 20, 80, 30), rect)
rect = Rect(20, 70, 60, 80)
Utilities.rotateBounds(rect, 100, 100, 3)