Notification Panel action
Moderator: Martin
Notification Panel action
Hi, I know that I can open notification Panel with control UI "notifications()", but is there a way to have condition "notification Panel open" so I can have a button dedicated to open and close? I have tried execution count but if I choose the panel manually it throws off the count and I am using a gesture to close panel so when it's already closed it presses a button or performs an action on whatever screen I'm on (same with script back() ). I either need condition notification Panel open or is there a different variable for notifications (x)?
Re: Notification Panel action
You could try to use action Control UI to see if one of the buttons of the notification panel is showing (something like existsElementById("com.android.systemui:id/expand_indicator"), but this is highly ROM and Android version dependent so it's unlikely to work as is on your device...)
Regards,
Martin
Regards,
Martin