Show custom notifications for API < 26.

This commit is contained in:
Greyson Parrelli
2020-06-07 13:13:51 -04:00
parent d8f3e032c7
commit b48abb08d2
6 changed files with 25 additions and 14 deletions

View File

@@ -400,6 +400,9 @@ public class NotificationChannels {
@TargetApi(26)
@WorkerThread
public static synchronized void ensureCustomChannelConsistency(@NonNull Context context) {
if (!supported()) {
return;
}
Log.d(TAG, "ensureCustomChannelConsistency()");
NotificationManager notificationManager = ServiceUtil.getNotificationManager(context);