Page 1 of 1

How remove "persistant notification"

Posted: 17 Sep 2014 07:29
by xpdev
Hi guys.

Automagic can create "persistent notifications" then non-cancellable except from Automagic flow.

If i stop manually Automagic service when there is a persistent notification , I can not delete notification.

There is a way to see stopping Automagic service from flow?

or else in Automagic Settings insert the possibility to kill all notifications that has builded Automagic before stopping Automagic service

thanks

Re: How remove "persistant notification"

Posted: 17 Sep 2014 16:51
by Martin
Hi,

You could use a trigger Notification on Statusbar to create a persistent notification. The notification should be removed automatically when the service is stopped or the flow is disabled.
You could also use action Remove Notification on Statusbar: All (Automagic) to remove the notifications of Automagic.

Regards,
Martin

Re: How remove "persistant notification"

Posted: 17 Sep 2014 16:54
by xpdev
OK, that's sound good Martin.

Many thanks.

Re: How remove "persistant notification"

Posted: 17 Sep 2014 16:57
by raman2466
Using a flow to remove persistent notifications is cumbersome!, use gravity box, xposed module for rooted devices!

Re: How remove "persistant notification"

Posted: 18 Sep 2014 07:11
by xpdev
Hi Martin

i'm doing some tests.... sincerely i don't understand.....
Martin wrote: You could use a trigger Notification on Statusbar to create a persistent notification.
Why a Trigger and not the "Action" Notification on Statusbar ??

Martin wrote: The notification should be removed automatically when the service is stopped or the flow is disabled.
Notifications that i have build with the "Action" Notification on Statusbar are still alive when stop the service or manually disable the flow
Martin wrote: You could also use action Remove Notification on Statusbar: All (Automagic) to remove the notifications of Automagic.
Yes i know this, it should be very usefully if there is a trigger fired before service stop.

My goal is to clean all the automagic notifications still alive if I turn off manually (wich is the only way, right ?) the service

Regards
Daniele

Re: How remove "persistant notification"

Posted: 18 Sep 2014 07:39
by xpdev
Hi Martin

here you may download a screen capture video for "Notification" trouble on my Samsung i9505.... (Custom ROM Carbon KK 4.4.4)

look at how notification is still alive when stop Automagic Service.

Where i'm wrong ?

Regards
Daniele

https://www.dropbox.com/s/se758dmky09cn ... 0.mp4?dl=0

Re: How remove "persistant notification"

Posted: 24 Sep 2014 11:07
by Martin
Hi,

I see what you mean. I could add a feature that removes all Automagic notifications when the service is stopped, but I have to think about possible side effects first.
I don't like the idea to execute a flow when the service is stopped since stopping should not start even more stuff.

Regards,
Martin