Browse Source

index: simplify IsCompatibleABI

pull/10/head
Daniel Martí 10 years ago
parent
commit
76362d7114
  1. 6
      index.go

6
index.go

@ -215,9 +215,9 @@ func (apk *Apk) IsCompatibleABI(ABIs []string) bool {
if len(apk.ABIs) == 0 {
return true // APK does not contain native code
}
for i := range apk.ABIs {
for j := range ABIs {
if apk.ABIs[i] == ABIs[j] {
for _, apkABI := range apk.ABIs {
for _, abi := range ABIs {
if apkABI == abi {
return true
}
}

Loading…
Cancel
Save