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

Skip to content
Commit eb7dbd52 authored by Evan Laird's avatar Evan Laird
Browse files

Fix QS peek animation from ACTION_DOWN

When a notch is emulated, the EmptyShadeView gets measured as EXACTLY
60px, and this was causing
NotificationStackScrollLayout#getOpeningHeight to find the wrong value
for the height of the EmptyShadeView, thus the wrong amount to peek QS
open.

I'm not entirely sure why this isn't the case on devices without notch
emulation, but it seems that we should always let the children of
NotificationStackScrollLayout measure themselves as UNSPECIFIED so that
content heights are accurate while animating in.

Fixes: 110121269
Test: touch and hold status bar with no notifications; QQS should fully
expand when notch emulation is turned on.

Change-Id: Ie023c7ec813ea17d8378cc0f51e6aea5e3491722
parent 79e27cd2
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