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

Skip to content
Commit 70cd8eaf authored by András Kurucz's avatar András Kurucz
Browse files

[Flexiglass] Simplify NSSL's stack height calculation

Separate the Flexiglass and the Legacy way of calculating the stack
height. When Flexiglass is enabled:
 - verify that we never add listeners to
   NSSL.mStackHeightChangeListeners
 - stop setting NSSL.mContentHeight, and use mIntrinsicContentHeight
   instead
 - don't use NSSL.getIntrinsicPadding()
 - don't use NSSL.getScrimTopPadding()

Bug: 332574413
Fixes: 347768714
Test: manually verify if the stack height is updated correctly in the
shade, and in the lock screen
Flag: com.android.systemui.scene_container

Change-Id: Ic05953a85f7c8b3855eea5e2c8a04f2ea8445cd8
parent dd998443
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment