mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Previously when creating a new CurrentDisplay, we would never get the correct OrientationRectF from the hashmap because the size field of CurrentDisplay would be incorrect for a given rotation. Ex. Rotation 0 and Rotation 1 would have inverted display sizes Thus hashcode would return different values and we would only ever see if a point is contained in the current rotation's OrientationRectF. Bug: 183897242 Test: Tested swiping from portrait to landscape app, was able to swipe continuously Change-Id: I6de625389956f55cfc2142dcb7aeef2e90c157ac