summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Jiaming Liu <jiamingliu@google.com> 2023-09-02 02:04:47 +0000
committer Jiaming Liu <jiamingliu@google.com> 2023-09-05 20:43:22 +0000
commit6867926666be48de83363a23cd7aeb009867f407 (patch)
treeb2dc210b20d2ecd16fc42f9eaea59a3dd456560a /libs/androidfw/AssetsProvider.cpp
parentc567baf4695dd7a2070cc010576575f12a75a3d0 (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: Iedb1365d97bcfe14643199a4000472aadeee8282
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions