We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8010590 commit 1ebad85Copy full SHA for 1ebad85
sample/src/main/java/com/cloudinary/android/sample/app/MainApplication.java
@@ -54,7 +54,7 @@ private void createNotificationChannel() {
54
int importance = NotificationManager.IMPORTANCE_DEFAULT;
55
NotificationChannel channel = new NotificationChannel(NOTIFICATION_CHANNEL_ID, name, importance);
56
channel.setDescription(description);
57
- channel.setVibrationPattern(new long[]{});
+ channel.enableVibration(false);
58
NotificationManager notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
59
notificationManager.createNotificationChannel(channel);
60
}
0 commit comments