How to catch the package who generate this message?

Post your questions and help other users.

Moderator: Martin

Post Reply
viorel.rusu
Posts: 19
Joined: 20 Jul 2016 09:32

How to catch the package who generate this message?

Post by viorel.rusu » 18 Jun 2018 12:48

Hi,

From a wile, when I close the app e-Control I receive this message. E-Control has stopped, with the option to close it or to send report to Google/developer.
I want to create a flow to automatically close this message. With Control UI I can click on close button, but I can't figure it out on which event.
I tried on "UI Event: Window opened package contains text închide", but it doesn't seem to work.
Thank you
Attachments
Screenshot_20180618-154159.png
Screenshot_20180618-154159.png (213.82 KiB) Viewed 5740 times

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: How to catch the package who generate this message?

Post by Desmanto » 18 Jun 2018 15:58

Usually this message was sent by the android SystemUI app, so it is not the app which send the message. You need to use the systemui packagename instead of the e-Control.

You can use my windows recognizer flow to detect the flow. Or you can simply wait until the error appear and quickly open the UI Event trigger, tap the recent events and find the error you see from the dialog. Use that as the trigger.

Other method is using the variable logger, you can log all UI event to a global variable and analyze it later.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply