Welcome to mirror list, hosted at ThFree Co, Russian Federation.

NotificationChannelFactory.java « background « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 697fad3faae76d53e3d15a06129a2e252202690e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.mapswithme.maps.background;

import android.app.Application;
import androidx.annotation.NonNull;

import com.mapswithme.util.Utils;

public class NotificationChannelFactory
{
  @NonNull
  public static NotificationChannelProvider createProvider(@NonNull Application app)
  {
    return Utils.isOreoOrLater() ? new OreoCompatNotificationChannelProvider(app)
                                 : new StubNotificationChannelProvider(app);
  }
}