summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Alejandro Nijamkin <nijamkin@google.com> 2024-02-14 17:49:54 -0800
committer Alejandro Nijamkin <nijamkin@google.com> 2024-02-14 17:49:54 -0800
commit8caf9f679e3a527c525b253beb560f7abde0f30a (patch)
treed2f3b93c9ad4f8572a3d7c39d235697491406823 /libs/input/PointerController.cpp
parent66ac4531b1cce48a3984b2b70f3f60b0d59eeff3 (diff)
[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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions