itsdrnoob / DataMonitor

Data usage monitoring app for android.
GNU General Public License v3.0
553 stars 49 forks source link

Notification on top #116

Closed anuraag488 closed 1 year ago

anuraag488 commented 1 year ago

Hi Currently notification doesn't stay on top. I think if you use setSortKey(0) then notification will stay on top.

anuraag488 commented 1 year ago

@itsdrnoob Notification still doesn't stay on top on 2.3.0 beta 1. Can you give a try to above method?

itsdrnoob commented 1 year ago

Well according to the docs:

setSortKey() Set a sort key that orders this notification among other notifications from the same package.

So I'm not sure if it'll have any effect when there are notifications from multiple packages. Even with max priority, I'm not seeing the expected behaviour. Still trying to figure out a way.

anuraag488 commented 1 year ago

It's been used by other speed meter app and i have tested it using Tasker.

itsdrnoob commented 1 year ago

If that's the case, I'll give it a shot.