Commit 362be3f5 by sikang

bug fix

parent daf3a0f1
......@@ -131,7 +131,7 @@ class PackageGarble:
#忽略3级以下路径(例如com com.common),避免干扰到三方SDK
for (key,value) in self.pkg_mapping.items():
path_level = len(key.split("."))
if path_level < 3:
if path_level < 3 and (key.startswith("com") or key.startswith("cn")):
self.pkg_mapping[key] = key
#全局替换
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment