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 static android.app.supervision.flags.Flags.enab -
private void createAllChannels() { NotificationChannel notificationChannel = new NotificationChannel( STK_NOTIFICATION_CHANNEL_ID, getResources().getString(R.st -
private static void createNotificationChannels(Context context) { NotificationChannel tracingChannel = new NotificationChannel( NOTIFICATION_CHANNEL_TRACING, context.ge -
private fun createNotificationChannel() { val manager = getSystemService(NotificationManager::class.java) val channel = NotificationChannel( CHANNEL_ID, -
@Override public void onCreate(Bundle icicle) { super.onCreate(icicle); mVibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE); mActivityCreateTime = System.currentTimeMi -
public DownloadNotifier(Context context) { mContext = context; mNotifManager = context.getSystemService(NotificationManager.class); // Ensure that all our channels are ready t -
private void createNotificationChannel() { // Create notification channel for firmware update notification CharSequence dfuName = mContext.getString(R.string.settings_notif_update_chan -
@UserHandleAware(specialUsersAllowed = SpecialUser.DISALLOW_EVERY) public List<NotificationChannel> getNotificationChannels() { List<NotificationChannel> channelList = mNotificationChannel -
@Override public List<NotificationChannel> apply(NotificationChannelQuery query) { INotificationManager service = service(); try {