Releases
2.2.1
2021-11-18
Build System / Dependencies
Chores
去掉AutoMakeMissingClassPool的测试用例 (9575fcd )
升级maven sample依赖Shadow版本到2.1.1 (9de3cdc )
New Features
core.gradle-plugin: 自动创建Flavor,并只在plugin上应用Transform (e38755e )
从AndroidManifest中解析Receiver的action信息 (d27e984 )
支持NativeActivity (b3c9a9e )
core: support PackageManager getServiceInfo and resolveService (cf8a22f )
core.transform: ShadowTransform声明为支持build cache (7aa65f7 )
Bug Fixes
core:
支持Fragment override getContext方法 (ea59e39 )
插件Activity在getSystemService时默认委托给宿主Activity (80bc328 )
插件的LayoutInflater改为总是从Context取单例 (10ce022 )
transform-kit: debugWriteJar时忽略META-INF/目录文件 (5528372 )
core.loader: 像普通ClassLoader一样优先findLoadedClass (a335b19 )
core.transform: newMethod引用当前类名时使用Placeholder (d4b6e9e )
core.runtime:
补全Service的3参startForeground方法 (85c80f5 )
支持Application.getProcessName()方法 (a75c81c )
core.transform-kit: Transform启动前清空debug用的临时目录 (d9fd8cd )
core.manager: 提供释放db接口,去掉getLastPlugins中关闭db的操作 (a499e0d )
Performance Improvements
core.loader: 插件ClassLoader白名单采用前缀树进行匹配 (cc8f6d0 )
Refactors
dynamic: 抽出dynamic-apk模块以便复用于其他动态加载apk的场景 (159ab13 )
Tests
You can’t perform that action at this time.