Skip to content

Commit 5a1b5f2

Browse files
committed
add TODO:
如是OPPO或者vivo4.x系统的话 ,利用AssetsManager创建resource对象时要吧这个顺序反过来,否则在混合模式下会找不到资源。 Signed-off-by: Cai Liming <405977146@163.com>
1 parent 6fea805 commit 5a1b5f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PluginCore/src/com/plugin/core/PluginCreator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public static Resources createPluginResource(Application application, String abs
4848
String[] assetPaths = new String[2];
4949

5050
//不可更改顺序否则不能兼容4.x
51+
//TODO 但是!!!如是OPPO或者vivo4.x系统的话 ,要吧这个顺序反过来,否则在混合模式下会找不到资源
5152
assetPaths[0] = application.getApplicationInfo().sourceDir;
5253
assetPaths[1] = absolutePluginApkPath;
5354

0 commit comments

Comments
 (0)