Skip to content
Commit ed48c8aa authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixed the calculation of how many views to show on the lockscreen

The gapHeight wasn't taken into account as well as any potentially
visible headers neither. The media view was simply ignored, so
when then calculating the content height we had one view too few.
This also improves some bordercases of the measurement which
could be wrong. We can't use the shelf to do the gap calculations
but need to use the actual views.

Fixes: 156914265
Fixes: 157233336
Test: Add notifications and media, observe notification visible.
Change-Id: I92ef47153b5566c713004aed729c8761618ddf5e
parent 54ef7be3
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