InputDispatcher judge the touch untrusted.
找出日志中window信息,例如
Window #11 Window{…}:
mDisplayId=0 rootTaskId=1 mSession=Session{285ecd8 4481:u0a10231} mClient=android.os.BinderProxy@c65ce68
mOwnerUid=10111 showForAllUsers=false package=… appop=NONE …
fl=LAYOUT_IN_SCREEN LAYOUT_INSET_DECOR SHOW_WALLPAPER SPLIT_TOUCH HARDWARE_ACCELERATED DRAWS_SYSTEM_BAR_BACKGROUNDS
匹配到mOwnerUid,且不同的window有不一样的flag,有一些特殊的可用作区分window。
找到Obscuring window,并根据uid搜到它真正的packageName,例如:
uid=10111 userId=0
opPkg=com.google.android.***
或
APP UID 10111 ProcessRecord{…:com.*./u0a111}