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

Commit 4317e457 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AmbientIndication: Add tap again hint" into oc-dr1-dev

parents 50caf4af c18a13d9
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -4651,6 +4651,11 @@ public class StatusBar extends SystemUI implements DemoMode,

    @Override
    public void onActivated(ActivatableNotificationView view) {
        onActivated((View)view);
        mStackScroller.setActivatedChild(view);
    }

    public void onActivated(View view) {
        mLockscreenGestureLogger.write(
                MetricsEvent.ACTION_LS_NOTE,
                0 /* lengthDp - N/A */, 0 /* velocityDp - N/A */);
@@ -4659,7 +4664,6 @@ public class StatusBar extends SystemUI implements DemoMode,
        if (previousView != null) {
            previousView.makeInactive(true /* animate */);
        }
        mStackScroller.setActivatedChild(view);
    }

    /**
@@ -4693,9 +4697,13 @@ public class StatusBar extends SystemUI implements DemoMode,
    @Override
    public void onActivationReset(ActivatableNotificationView view) {
        if (view == mStackScroller.getActivatedChild()) {
            mKeyguardIndicationController.hideTransientIndication();
            mStackScroller.setActivatedChild(null);
            onActivationReset((View)view);
        }
    }

    public void onActivationReset(View view) {
        mKeyguardIndicationController.hideTransientIndication();
    }

    public void onTrackingStarted() {