chore: remove unneeded logging
This commit is contained in:
parent
fe7a92c444
commit
9706db5276
|
@ -11,13 +11,10 @@ import android.graphics.drawable.Icon;
|
||||||
public class NotificationHelper {
|
public class NotificationHelper {
|
||||||
private final static String tag = "NotificationHelper";
|
private final static String tag = "NotificationHelper";
|
||||||
public static void newChannel(Context ctx, int importance, String channelID, String name, String description) {
|
public static void newChannel(Context ctx, int importance, String channelID, String name, String description) {
|
||||||
Log.w(tag,String.format("newChannel invoked"));
|
|
||||||
NotificationChannel channel = new NotificationChannel(channelID, name, importance);
|
NotificationChannel channel = new NotificationChannel(channelID, name, importance);
|
||||||
Log.e(tag,String.format("channel: %s",channel));
|
|
||||||
channel.setDescription(description);
|
channel.setDescription(description);
|
||||||
|
|
||||||
NotificationManager notificationManager = ctx.getSystemService(NotificationManager.class);
|
NotificationManager notificationManager = ctx.getSystemService(NotificationManager.class);
|
||||||
Log.e(tag,String.format("manager: %s",notificationManager));
|
|
||||||
notificationManager.createNotificationChannel(channel);
|
notificationManager.createNotificationChannel(channel);
|
||||||
}
|
}
|
||||||
public static void sendNotification(Context ctx, String channelID, int notificationID, String title, String text) {
|
public static void sendNotification(Context ctx, String channelID, int notificationID, String title, String text) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user