Meituan-Dianping / Robust

Robust is an Android HotFix solution with high compatibility and high stability. Robust can fix bugs immediately without a reboot.
Apache License 2.0
4.42k stars 807 forks source link

add注释的onResume方法没有被调用 #272

Closed lwq0739 closed 6 years ago

lwq0739 commented 6 years ago

异常类型:app运行时异常

手机型号:VIVO X9I

手机系统版本:7.1.1

Robust版本:0.4.75

Gradle版本:3.0.0

系统:如:Windows

堆栈/日志: 补丁打成功后,add注释的onResume方法没有被调用

wpi 6 r t2 y o7a1g3ck7s

hqs998 commented 6 years ago

我也是,现在好像不支持新增override函数,醉了

AzenHuang commented 6 years ago

不支持新增override父类函数,因为在子类该方法上并没有插桩,原理上不支持

hqs998 commented 6 years ago

谢谢,请问原函数内有new listener并且实现override函数的话,是不是就无法修复了呢?还是说同时要给函数内listener override函数也标记modify?

-------- 原始信息 -------- 由: AzenHuang notifications@github.com 日期: 18/6/6 20:30 (GMT+08:00) 收件人: Meituan-Dianping/Robust Robust@noreply.github.com 抄送: hqs998 hqs_998@hotmail.com, Comment comment@noreply.github.com 主题: Re: [Meituan-Dianping/Robust] add注释的onResume方法没有被调用 (#272)

不支持新增override父类函数,因为在子类该方法上并没有插桩,原理上不支持

― You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Meituan-Dianping/Robust/issues/272#issuecomment-395051401, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AICOO1Z4fAgsOxMPO6-WWYqOAWDK1onrks5t58tygaJpZM4T1-iL.