commit | 78e5f4846c4a58a081f8ce040262f8c9364757f2 | [log] [tgz] |
---|---|---|
author | Eric Lin <ericth@google.com> | Tue Oct 29 18:49:42 2024 +0800 |
committer | Eric Lin <ericth@google.com> | Wed Oct 30 13:42:07 2024 +0800 |
tree | 864d23e08a7cd478270f5df53df50e9e02d4a12c | |
parent | 229d51bbb4fe3eeedf56ecee51357531cf00f9cf [diff] |
Improve testability for WindowLayoutComponentImpl. This change increases the testability of WindowLayoutComponentImpl by allowing tests to control the rotation and DisplayInfo. This prevents tests from depending on the real device orientation or display configuration. Bug: 337820752 Flag: TEST_ONLY Test: atest WMJetpackUnitTests:ExtensionHelperTest Test: atest WMJetpackUnitTests:WindowLayoutComponentImplTest Change-Id: I02360dca16acd827cc6d8dd0862057817f424149