galex
03/11/2018, 10:28 AMchannel == null || channel.importance != NotificationManager.IMPORTANCE_NONE
I thought I could do:
channel?.importance != NotificationManager.IMPORTANCE_NONE
But this crashes due to the function equals being called on null (NPE) when channel is null itself