AI summary
Grounded in the 10 excerpts below · verify against the source
-
package com.android.server.telecom.ui; import android.app.NotificationChannel; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.content.Context; import -
package com.android.internal.notification; import static android.app.admin.DevicePolicyResources.Strings.Core.NOTIFICATION_CHANNEL_DEVICE_ADMIN; import android.app.INotificationManager; import andro -
private static void createNotificationChannels(Context context) { NotificationChannel tracingChannel = new NotificationChannel( NOTIFICATION_CHANNEL_TRACING, context.ge -
private void createAllChannels() { NotificationChannel notificationChannel = new NotificationChannel( STK_NOTIFICATION_CHANNEL_ID, getResources().getString(R.st -
@Override public List<NotificationChannel> apply(NotificationChannelQuery query) { INotificationManager service = service(); try { -
@Override public void onCreate(Bundle icicle) { super.onCreate(icicle); mVibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE); mActivityCreateTime = System.currentTimeMi -
private void createNotificationChannel() { // Create notification channel for firmware update notification CharSequence dfuName = mContext.getString(R.string.settings_notif_update_chan -
public DownloadNotifier(Context context) { mContext = context; mNotifManager = context.getSystemService(NotificationManager.class); // Ensure that all our channels are ready t -
public void createNotificationChannels(@NonNull List<NotificationChannel> channels) { INotificationManager service = service(); try { service.createNotificationChannels(mCo -
private void ensureNotificationChannel(String channelId, int importance, CharSequence name, String description) { if (mNotificationManager.getNotificationChannel(channelId) != null