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

Commit 78f40084 authored by Selim Cinek's avatar Selim Cinek
Browse files

Reseting user expansions when the shade is collapsed

Bug: 27597152
Change-Id: I5ed13c17a95defc9ddc3f5f184f7a98b012baef1
parent c0fac72d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3139,7 +3139,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        }
    };

    private void resetUserExpandedStates() {
    public void resetUserExpandedStates() {
        ArrayList<Entry> activeNotifications = mNotificationData.getActiveNotifications();
        final int notificationCount = activeNotifications.size();
        for (int i = 0; i < notificationCount; i++) {
+1 −0
Original line number Diff line number Diff line
@@ -2654,6 +2654,7 @@ public class NotificationStackScrollLayout extends ViewGroup
        mIsExpansionChanging = false;
        if (!mIsExpanded) {
            mOwnScrollY = 0;
            mPhoneStatusBar.resetUserExpandedStates();

            // lets make sure nothing is in the overlay anymore
            getOverlay().clear();