Play vibration if MSDL is enabled for locked workspace
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
1 parent
77994b0bb5
commit
b42904a5d3
1 file changed
+5
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user