Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core.transform-kit): 检查缺少方法时先看旧类是否有实现 #1270

Merged
merged 1 commit into from
Dec 12, 2023

Commits on Dec 12, 2023

  1. fix(core.transform-kit): 检查缺少方法时先看旧类是否有实现

    典型的场景应该是androidx等库对新版本Android SDK新增API的依赖非常及时,
    但这些依赖并不总是有用。在低版本Android SDK上编译时,新增API不存在对
    这些库实际上没有影响。
    
    我们检查替换类名时也应该先看看原先依赖的方法是否能找到。如果本来就找不到,
    那我们的新类也没必要一定实现缺失的方法。
    
    Tencent#1251
    shifujun committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    fee9fae View commit details
    Browse the repository at this point in the history