Notifications not working after reboot


I’m using Android Studio to follow these tutorials and I’m using HTC one m8 with lollipop to test apps.

I’ve finished with code 30.4 and after running the app and turning on the pooling if I restart the phone no notifications would show up.
Basically, if I don’t even have app running on my device and use this adb-command:

Adb gives me this result:

Broadcasting: Intent { act=android.intent.action.BOOT_COMPLETED cat=[android.intent.category.HOME] cmp=com.tom.photogaller y/.StartupReceiver } Broadcast completed: result=0

Log cat:

And app starts and notifications are working, so it looks like I can use it with adb command so why it is not working after reboot?

Thank you :wink: