当前位置: 首页 > 工具软件 > Untrusted > 使用案例 >

InputDispatcher: Untrusted touch due to occlusion by

席俊
2023-12-01

分析问题: InputDispatcher: Untrusted touch due to occlusion by packageName/uid

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}

 类似资料:

相关阅读

相关文章

相关问答