Play vibration if MSDL is enabled for locked workspace

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach committed 2026-01-10 20:46:49 +07:00
1 parent 77994b0bb5
commit b42904a5d3
1 file changed
+5 -1
+5 -1
View File
@@ -1879,7 +1879,11 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
child.setVisibility(View.VISIBLE);
if (dragOptions.preDragCondition != null) {
mLauncher.getDragLayer().performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
if (Flags.msdlFeedback()) {
mMSDLPlayerWrapper.playToken(MSDLToken.LONG_PRESS);
} else {
mLauncher.getDragLayer().performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
}
}
return null;
}