Handle universal APK case in extract_apks
Cherrypick of ag/11553550 Bug: 157081961 Test: manual and builtin Merged-In: I5ac64c845328a54024171da41c369050243462b0 Change-Id: I3ebc4a84501623774b78c9c19628994c1d71dc64
This commit is contained in:
@@ -374,6 +374,10 @@ func (apkSet *ApkSet) writeApks(selected SelectionResult, config TargetConfig,
|
||||
regexp.MustCompile(`^.*/` + selected.moduleName + `(-.*\.apk)$`),
|
||||
config.stem + `$1`,
|
||||
},
|
||||
{
|
||||
regexp.MustCompile(`^universal\.apk$`),
|
||||
config.stem + ".apk",
|
||||
},
|
||||
}
|
||||
renamer := func(path string) (string, bool) {
|
||||
for _, rr := range renameRules {
|
||||
|
Reference in New Issue
Block a user