NotRunningInBg icon indicating copy to clipboard operation
NotRunningInBg copied to clipboard

unsnoozeNotification

Open LvWind opened this issue 7 years ago • 3 comments

NotificationListenerService only has a snoozeNotification(), but no unsnoozeNotification(). I found it in NotificationAssistantService, but it's a hidden system api. I tried to use reflection to call it but failed.

LvWind avatar Aug 30 '17 09:08 LvWind

What seems to be the problem?

Mygod avatar Sep 01 '17 03:09 Mygod

Can not get the instance of NotificationAssistantService

LvWind avatar Sep 01 '17 03:09 LvWind

Why don't you try calling getNotificationInterface().unsnoozeNotificationFromAssistant(mWrapper, key)?

Mygod avatar Sep 01 '17 03:09 Mygod