summaryrefslogtreecommitdiff
path: root/android/apex.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2023-02-28 16:02:16 -0800
committer Cole Faust <colefaust@google.com> 2023-02-28 16:51:32 -0800
commit18994c73f11db00371be747c8dca6da1c01fa2ef (patch)
tree76516067d92eb71defdcb276a6dc910cb50bd266 /android/apex.go
parent20eed826fd037d27f87631bd6e64e0ea651621e7 (diff)
Replace SortedStringKeys with SortedKeys
Now that we have generics. Bug: 193460475 Test: presubmits Change-Id: I1594fd8feb505175d5c09c03ef397e5ffd5b09cb
Diffstat (limited to 'android/apex.go')
-rw-r--r--android/apex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/apex.go b/android/apex.go
index 3c945ae6a..358818f47 100644
--- a/android/apex.go
+++ b/android/apex.go
@@ -817,7 +817,7 @@ func (d *ApexBundleDepsInfo) BuildDepsInfoLists(ctx ModuleContext, minSdkVersion
var flatContent strings.Builder
fmt.Fprintf(&fullContent, "%s(minSdkVersion:%s):\n", ctx.ModuleName(), minSdkVersion)
- for _, key := range FirstUniqueStrings(SortedStringKeys(depInfos)) {
+ for _, key := range FirstUniqueStrings(SortedKeys(depInfos)) {
info := depInfos[key]
toName := fmt.Sprintf("%s(minSdkVersion:%s)", info.To, info.MinSdkVersion)
if info.IsExternal {