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

Skip to content
Commit 0cb9c102 authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Fix wrong gesture insets size during rotation

We use a pre-provided layout params to deal with rotation. However, the
cutout in the pre-provided layout params is not calculated based on
rotation correctly. Use the minimal insets size in display cutout safe
field instead to let the gesture insets to be with the same size in any
given location to fix the issue.

Besides, the mMinimalInsetsSizeInDisplayCutoutSafe is missing in IPC,
fix it by adding correct statements in the parcel related methods.

Bug: 285090475
Test: Rotate the device with cutout and there's no flakiness.
Change-Id: Iaddf3acf61a80cce356d009d5a3ca7539f1a33a0
parent 390e76d7
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