On demaned notifacation

I've made a button to create an on-going notification that launches a service,this service detect the foreground app and launches it with the Halo flag .

Unlike the first code this doesn't do any background processing .