Skip to content

Commit 61c28dd

Browse files
committed
change rule for google apk
1 parent bcfc9e9 commit 61c28dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PackageRules.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def FormRule (self):
3737
return
3838
elif self.rootName == "com" or self.rootName == "Lcom":
3939
tokens = self.GetTokens(self.main_package_name)
40-
if tokens [1] == "google":
40+
if len(tokens) > 1 and tokens [1] == "google":
4141
self.packageLevel = -1 #indicating its google_apk
4242
else:
4343
self.packageLevel = 2 #com.bayview.*or com.googlex.*

0 commit comments

Comments
 (0)