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

Commit c0ce82da authored by Selim Cinek's avatar Selim Cinek
Browse files

Delayed the highlighting of the statusbar header on drag down.

Also delayed the highlighing of buttons inside notifications.

Bug: 15184882
Change-Id: Ic3af7ec7c41232ac7f8ecfa4700659b1ca293894
parent adf2ea2b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -307,4 +307,9 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
            mBrightnessContainer.animate().alpha(showingDetail ? 0 : 1).withLayer().start();
        }
    };

    @Override
    public boolean shouldDelayChildPressedState() {
        return true;
    }
}
+5 −0
Original line number Diff line number Diff line
@@ -1832,6 +1832,11 @@ public class NotificationStackScrollLayout extends ViewGroup
        return super.dispatchTouchEvent(ev);
    }

    @Override
    public boolean shouldDelayChildPressedState() {
        return true;
    }

    /**
     * A listener that is notified when some child locations might have changed.
     */