mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-25 01:20:34 +00:00
Reformatted code so that it's better readable
This commit is contained in:
parent
4f8552835e
commit
e4cd52060c
@ -226,29 +226,33 @@ public class App extends MultiDexApplication {
|
|||||||
// Keep the importance below DEFAULT to avoid making noise on every notification update for
|
// Keep the importance below DEFAULT to avoid making noise on every notification update for
|
||||||
// the main and update channels
|
// the main and update channels
|
||||||
final NotificationChannelCompat mainChannel = new NotificationChannelCompat
|
final NotificationChannelCompat mainChannel = new NotificationChannelCompat
|
||||||
.Builder(getString(R.string.notification_channel_id),
|
.Builder(
|
||||||
NotificationManagerCompat.IMPORTANCE_LOW)
|
getString(R.string.notification_channel_id),
|
||||||
|
NotificationManagerCompat.IMPORTANCE_LOW)
|
||||||
.setName(getString(R.string.notification_channel_name))
|
.setName(getString(R.string.notification_channel_name))
|
||||||
.setDescription(getString(R.string.notification_channel_description))
|
.setDescription(getString(R.string.notification_channel_description))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
final NotificationChannelCompat appUpdateChannel = new NotificationChannelCompat
|
final NotificationChannelCompat appUpdateChannel = new NotificationChannelCompat
|
||||||
.Builder(getString(R.string.app_update_notification_channel_id),
|
.Builder(
|
||||||
NotificationManagerCompat.IMPORTANCE_LOW)
|
getString(R.string.app_update_notification_channel_id),
|
||||||
|
NotificationManagerCompat.IMPORTANCE_LOW)
|
||||||
.setName(getString(R.string.app_update_notification_channel_name))
|
.setName(getString(R.string.app_update_notification_channel_name))
|
||||||
.setDescription(getString(R.string.app_update_notification_channel_description))
|
.setDescription(getString(R.string.app_update_notification_channel_description))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
final NotificationChannelCompat hashChannel = new NotificationChannelCompat
|
final NotificationChannelCompat hashChannel = new NotificationChannelCompat
|
||||||
.Builder(getString(R.string.hash_channel_id),
|
.Builder(
|
||||||
NotificationManagerCompat.IMPORTANCE_HIGH)
|
getString(R.string.hash_channel_id),
|
||||||
|
NotificationManagerCompat.IMPORTANCE_HIGH)
|
||||||
.setName(getString(R.string.hash_channel_name))
|
.setName(getString(R.string.hash_channel_name))
|
||||||
.setDescription(getString(R.string.hash_channel_description))
|
.setDescription(getString(R.string.hash_channel_description))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
final NotificationChannelCompat newStreamsChannel = new NotificationChannelCompat
|
final NotificationChannelCompat newStreamsChannel = new NotificationChannelCompat
|
||||||
.Builder(getString(R.string.streams_notification_channel_id),
|
.Builder(
|
||||||
NotificationManagerCompat.IMPORTANCE_DEFAULT)
|
getString(R.string.streams_notification_channel_id),
|
||||||
|
NotificationManagerCompat.IMPORTANCE_DEFAULT)
|
||||||
.setName(getString(R.string.streams_notification_channel_name))
|
.setName(getString(R.string.streams_notification_channel_name))
|
||||||
.setDescription(getString(R.string.streams_notification_channel_description))
|
.setDescription(getString(R.string.streams_notification_channel_description))
|
||||||
.build();
|
.build();
|
||||||
|
Loading…
Reference in New Issue
Block a user