fix: Disable material expressive folder expansion animations
This commit is contained in:
1 parent
0ff9636c38
commit
9b90822395
2258 files changed
+165176
-78078
No files matched your search
@@ -15,6 +15,8 @@
|
||||
*/
|
||||
package com.android.launcher3.allapps;
|
||||
|
||||
import static android.view.HapticFeedbackConstants.CLOCK_TICK;
|
||||
|
||||
import androidx.recyclerview.widget.LinearSmoothScroller;
|
||||
import androidx.recyclerview.widget.RecyclerView.ViewHolder;
|
||||
|
||||
@@ -71,6 +73,7 @@ public class AllAppsFastScrollHelper {
|
||||
|
||||
@Override
|
||||
protected int getVerticalSnapPreference() {
|
||||
mRv.performHapticFeedback(CLOCK_TICK);
|
||||
return SNAP_TO_ANY;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user