Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cfeaf6a8 authored by Jiaming Liu's avatar Jiaming Liu Committed by Cherrypicker Worker
Browse files

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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6867926666be48de83363a23cd7aeb009867f407)
Merged-In: Iedb1365d97bcfe14643199a4000472aadeee8282
Change-Id: Iedb1365d97bcfe14643199a4000472aadeee8282
parent 8aacb817
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment