Page 1 of 1

trigger for pulling down notification/quicksettings

Posted: 05 May 2019 13:36
by heliosone
is there a trigger that reacts when I pull down the statusbar to open the notification/quicksettings screen ?

Re: trigger for pulling down notification/quicksettings

Posted: 05 May 2019 13:47
by heliosone
solution I found 5 mins after I posted the question :) => Trigger : UI EVENT ,and just used the RECENT EVENTS list.

Working for me :
EventType:Component focused
Package Name:com.android.systemui
Text:AFWall+
The last bit seems a bit user specific,as I always have a AFWall Notification shown,so if someone has an empty notification area most of the time,not sure how this would work!

Re: trigger for pulling down notification/quicksettings

Posted: 06 May 2019 01:06
by Desmanto
At mine it is Window Opened at the same com.android.systemui. But the text is different. So I can use match regex to

Code: Select all

Notification shade\.|Quick settings\.

Re: trigger for pulling down notification/quicksettings

Posted: 06 May 2019 08:16
by heliosone
my os language is german,so both strings you use,are in german at my device.
but once changed to localized strings,your solution also works quite well :)