summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Jiaming Liu <jiamingliu@google.com> 2023-09-12 21:50:09 +0000
committer Jiaming Liu <jiamingliu@google.com> 2023-09-13 03:26:50 +0000
commit03eab8e60f9da4c3d022b9328b7ff7b762393705 (patch)
tree81265e9e4f04528753509a76d037d0f187da06d3 /libs/androidfw/AssetsProvider.cpp
parent7d8ce4be58a43abb8566b2233663312c49dde869 (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 Test: atest WMJetpackUnitTests:ExtensionHelperTest Change-Id: I127893092aae3a28d99da09282a0b12b0b303a88
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions