diff options
| author | 2023-08-17 04:26:40 +0000 | |
|---|---|---|
| committer | 2023-08-29 20:14:02 +0000 | |
| commit | 7c6271b7f1ab08b687589ab000f29d539bd89068 (patch) | |
| tree | 6b39cbd9c715b5ae982613fa1b9b01c3d24aea36 /libs/androidfw/FileStream.cpp | |
| parent | a9a54263cae577cea28983262e38445a8ffd1e02 (diff) | |
Use rotation from WindowConfiguration to rotate FoldingFeature to avoid race condition
We used DisplayInfo.rotation to rotate the FoldingFeature while using WindowConfiguration to validate the rotated FoldingFeature. Based on logs in b/295277561 and b/297215998, the rotations in WindowConfiguration and DisplayInfo were out of sync and caused validation failure and app crash. Using the
rotation from WindowConfiguration for feature rotation should prevent this issue.
Bug: 295277561
Bug: 297215998
Bug: 297153447
Test: atest CtsWindowManagerJetpackTestCases
Change-Id: I5f2322b73616e7b2746c4c0081d9e051bb0e4d56
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions