public void onReceive(@NonNull Context context, Intent intent) {
context.sendBroadcast(new Intent(context, AlarmReceiver.Audio.class));
finish();
}
};
<BUG>registerReceiver(mReceiver, filter);
}</BUG>
void onDismiss() {
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.cancel(getIntent().getIntExtra("city", 0) + "", NotIds.ALARM);

public void onReceive(@NonNull Context context, Intent intent) {
context.sendBroadcast(new Intent(context, AlarmReceiver.Audio.class));
finish();
}
};
void onDismiss() {
NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
nm.cancel(getIntent().getIntExtra("city", 0) + "", NotIds.ALARM);
