I try to disable vibration when showing a notification.
Func:
public static Notification buildNotifForUploaderService(Context ctx, String
Like this answer, do:
mNotificationChannel.setVibrationPattern(new long[]{ 0 });
mNotificationChannel.enableVibration(true);
Important 1: even if I set the vibration pattern above, but set enableVibration to false, it vibrates. So, set enableVibration to true!
Important 2: like this another answer, the channel keeps its initial settings, so uninstall and install the app again to apply the changes!
Hope it helps!