commit | 7dba1da1fa527e74cc0c91b1d2cdc827a79c1039 | [log] [tgz] |
---|---|---|
author | Himanshu Jaju <himanshujaju@google.com> | Mon Nov 30 13:49:40 2020 +0000 |
committer | Himanshu Jaju <himanshujaju@google.com> | Wed Dec 16 15:58:35 2020 +0000 |
tree | e3662f145d074b3adf6ca71b74253b2e4d3e944e | |
parent | 685eca7077dd6299196c36b415889e142d30e55b [diff] |
Refactors RotationUtils to be independent from device width. Currently the RotationUtils class checks for the device orientation AND the device width to figure out the current orientation. This CL moves the device width checks to the caller class so that Util class is free of special cases. Test: Manual Bug: 171918213 Change-Id: Ide67ee35394f48f3312e5ece1228e450fbdf30b4