[6.2.6][技术优化] 修正View移除逻辑

This commit is contained in:
renwj
2023-12-21 20:02:05 +08:00
parent 9ec8de199e
commit 3882fb7b5d

View File

@@ -70,7 +70,7 @@ class UiPostLancet {
@ReplaceInvoke
fun postDelayed(view: View, action: Runnable, delayMillis: Long): Boolean {
return try {
view.postDelayed(action, delayMillis)
view.postDelayed(ActionWrapper(action).also { map[action] = it }, delayMillis)
} finally {
CallerDevaToolsManager.block()?.takeIf {
it.hasInit()