[6.2.0][技术优化] 添加对toast与viewmanager的代理
This commit is contained in:
@@ -210,7 +210,7 @@ class JankPointAutoGenerator {
|
||||
|
||||
@LancetXGenerator(
|
||||
group = "main_block_check",
|
||||
type = Type.VIEW,
|
||||
type = Type.IPC,
|
||||
scope = Scope.ALL,
|
||||
hookType = HookType.REPLACE_INVOKE,
|
||||
hookAllPublicMethods = true,
|
||||
@@ -220,18 +220,18 @@ class JankPointAutoGenerator {
|
||||
private Toast toast;
|
||||
|
||||
|
||||
// @LancetXGenerator(
|
||||
// group = "main_block_check",
|
||||
// type = Type.VIEW,
|
||||
// scope = Scope.ALL,
|
||||
// hookType = HookType.REPLACE_INVOKE,
|
||||
// hookAllPublicMethods = true,
|
||||
// onlyHookMethodNames = { "addView", "updateViewLayout", "removeView" },
|
||||
// onlyHookMethodDescs = {
|
||||
// "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V",
|
||||
// "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V",
|
||||
// "(Landroid/view/View;)V"
|
||||
// }
|
||||
// )
|
||||
// private ViewManager manager;
|
||||
@LancetXGenerator(
|
||||
group = "main_block_check",
|
||||
type = Type.IPC,
|
||||
scope = Scope.ALL,
|
||||
hookType = HookType.REPLACE_INVOKE,
|
||||
hookAllPublicMethods = true,
|
||||
onlyHookMethodNames = { "addView", "updateViewLayout", "removeView" },
|
||||
onlyHookMethodDescs = {
|
||||
"(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V",
|
||||
"(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V",
|
||||
"(Landroid/view/View;)V"
|
||||
}
|
||||
)
|
||||
private ViewManager manager;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user