АА
Size: a a a
АА
АА
DB
PK
E
ES
ES
E
DB
PK
PK
Intent notificationIntent = new Intent(this, MainActivity.class);
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
Notification notification = new Notification.Builder(this, NOTIF_CHANNEL_ID)
.setContentTitle(getString(R.string.app_name))
.setContentText("Service is running background")
.setSmallIcon(R.drawable.ic_launcher_foreground)
.setContentIntent(pendingIntent)
.build();
startForeground(1, notification);
return START_NOT_STICKY;
PK
NOTIF_CHANNEL_ID
A
DB
PK
PK
PK
DB
PK