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

Commit b43d8fa9 authored by John Li's avatar John Li Committed by Android (Google) Code Review
Browse files

Merge "Haptic effect on alphabetical scroll in Pixel Launcher"

parents 2f4654ee ce7f9f2a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@

package com.android.launcher3.views;

import static android.view.HapticFeedbackConstants.CLOCK_TICK;

import android.animation.ObjectAnimator;
import android.content.Context;
import android.content.res.Resources;
@@ -288,6 +290,7 @@ public class RecyclerViewFastScroller extends View {
        if (!sectionName.equals(mPopupSectionName)) {
            mPopupSectionName = sectionName;
            mPopupView.setText(sectionName);
            performHapticFeedback(CLOCK_TICK);
        }
        animatePopupVisibility(!sectionName.isEmpty());
        mLastTouchY = boundedY;