summaryrefslogtreecommitdiff
path: root/android/apex.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/apex.go')
-rw-r--r--android/apex.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/android/apex.go b/android/apex.go
index b19c47795..79ee0a8f8 100644
--- a/android/apex.go
+++ b/android/apex.go
@@ -16,7 +16,6 @@ package android
import (
"fmt"
- "reflect"
"slices"
"sort"
"strconv"
@@ -146,17 +145,6 @@ func (i ApexInfo) InApexModule(apexModuleName string) bool {
return false
}
-// To satisfy the comparable interface
-func (i ApexInfo) Equal(other any) bool {
- otherApexInfo, ok := other.(ApexInfo)
- return ok && i.ApexVariationName == otherApexInfo.ApexVariationName &&
- i.MinSdkVersion == otherApexInfo.MinSdkVersion &&
- i.Updatable == otherApexInfo.Updatable &&
- i.UsePlatformApis == otherApexInfo.UsePlatformApis &&
- reflect.DeepEqual(i.InApexVariants, otherApexInfo.InApexVariants) &&
- reflect.DeepEqual(i.InApexModules, otherApexInfo.InApexModules)
-}
-
// ApexTestForInfo stores the contents of APEXes for which this module is a test - although this
// module is not part of the APEX - and thus has access to APEX internals.
type ApexTestForInfo struct {