You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
scan the new window when the target app switches activity (#109)
Some apps start their main activity first and show the splash-ad
activity on top of it a moment later (seen with Meituan's
SplashAdActivity on a real device). The window-state event for that
second activity used to only record the activity name, so the ad window
was never scanned as a whole and could only be found through later
content-changed events. The skip-ad process now treats an activity
change inside the target package like the first activity: it keeps
running and schedules one full scan of the new window. Nothing happens
while no process is running, so whitelisted or launcher packages are
unaffected.
Also logs labelled nodes in debug builds to make "no keyword matched"
cases diagnosable on a device.