Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

unsnoozeNotification #2

Open
LvWind opened this issue Aug 30, 2017 · 3 comments
Open

unsnoozeNotification #2

LvWind opened this issue Aug 30, 2017 · 3 comments

Comments

@LvWind
Copy link
Owner

LvWind commented Aug 30, 2017

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.

@Mygod
Copy link

Mygod commented Sep 1, 2017

What seems to be the problem?

@LvWind
Copy link
Owner Author

LvWind commented Sep 1, 2017

Can not get the instance of NotificationAssistantService

@Mygod
Copy link

Mygod commented Sep 1, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants