commit | 0812f844a16dee446b4fe3c2d3ef07671e1708c5 | [log] [tgz] |
---|---|---|
author | Milton Wu <mingjuwu@google.com> | Wed May 04 16:55:33 2022 +0800 |
committer | Milton Wu <mingjuwu@google.com> | Wed May 04 10:28:23 2022 +0000 |
tree | 0c0e2f63b7fa3e80b81d47b537564d64e27e568f | |
parent | 6725f73a88438e0413d78707b4334aecaef389ea [diff] |
Fix physical display ratio incorrect ScreenDecorations' physical display ratio is incorrect on rotation value 1 or 2. Change calculation base for physicalDisplayRatio() Bug: 231407521 Test: atest ScreenDecorationsTest Test: Manually check rounded corner display for every rotation and every resolution on device. Change-Id: I573636f5b889a0ef6e77eba7c6a5bac6e0dfb07d