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

Skip to content
Commit 8caf9f67 authored by Alejandro Nijamkin's avatar Alejandro Nijamkin
Browse files

[flexiglass] Fix incorrect error message positioning bug.

The reason the attached bug occurs is that the Crossfade is always as
wide as the wider of the two currently showing elements and doesn't
center-align them. During the
cross-fade animation, when both the longer "Enter your pattern" and the
shorter "Wrong pattern" messages appear with the shorter being
start-aligned to with the longer, making it appear not center-aligned
within the parent. Once the longer message is removed, the shorter one
becomes center-aligned again.

The approach is to always center-align the messages.

Fix: 325279799
Test: on phone in portrait only.
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Change-Id: I957168f60a084a27ee7a7aaabc6c1600a716f5d6
parent 66ac4531
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