Replace SortedStringKeys with SortedKeys
Now that we have generics. Bug: 193460475 Test: presubmits Change-Id: I1594fd8feb505175d5c09c03ef397e5ffd5b09cb
This commit is contained in:
@@ -538,8 +538,8 @@ func shouldBuildBootImages(config android.Config, global *dexpreopt.GlobalConfig
|
||||
func copyBootJarsToPredefinedLocations(ctx android.ModuleContext, srcBootDexJarsByModule bootDexJarByModule, dstBootJarsByModule map[string]android.WritablePath) {
|
||||
// Create the super set of module names.
|
||||
names := []string{}
|
||||
names = append(names, android.SortedStringKeys(srcBootDexJarsByModule)...)
|
||||
names = append(names, android.SortedStringKeys(dstBootJarsByModule)...)
|
||||
names = append(names, android.SortedKeys(srcBootDexJarsByModule)...)
|
||||
names = append(names, android.SortedKeys(dstBootJarsByModule)...)
|
||||
names = android.SortedUniqueStrings(names)
|
||||
for _, name := range names {
|
||||
src := srcBootDexJarsByModule[name]
|
||||
|
Reference in New Issue
Block a user