From 00bcf2c57a7dd3a5f3ee0b93af5f362aa86c446b Mon Sep 17 00:00:00 2001 From: Yash-Garg Date: Tue, 20 Sep 2022 15:37:49 +0530 Subject: [PATCH] enable haptics on app icon long press on home screen Signed-off-by: Yash-Garg --- .../e/blisslauncher/features/launcher/LauncherActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java b/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java index 6eaeb6a0fa..350a2bee56 100755 --- a/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java +++ b/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java @@ -1755,6 +1755,7 @@ public class LauncherActivity extends AppCompatActivity implements } icon.setOnLongClickListener(view -> { + view.setHapticFeedbackEnabled(true); handleWobbling(true); longPressed = true; return true; -- GitLab