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

Skip to content
Commit 7b75db9f authored by András Kurucz's avatar András Kurucz
Browse files

Fix calculating Notification amountInShelf

ExpandableView#isInShelf() returns true if a Notification is fully
scrolled into the shelf.
After the change I2735055775632649c418880322e7e197acfd84e7 we have left a check for isInShelf, for calculating the amountInShelf fraction for a notification that is partially scrolled into the shelf. This prevented us from doing an alpha and a translateY animation on the shelf icons.

Fixes: 319642729
Test: atest NotificationShelfTest
Test: post some notifications, open the shade, and scoll them into the
shade
Flag: NONE

Change-Id: Id8d6ff7e645e6a83a650ff00a4b026aec87ae6ec
parent 60f5711d
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