Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0511b434 authored by Ivan Chiang's avatar Ivan Chiang Committed by Android (Google) Code Review
Browse files

Merge "[PM] Use List to instead of Set for keeping order of abis" into main

parents eace4c0f fc961b2d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -53,7 +53,8 @@ import libcore.io.IoUtils;

import java.io.File;
import java.io.IOException;
import java.util.Set;
import java.util.ArrayList;
import java.util.List;

final class PackageAbiHelperImpl implements PackageAbiHelper {

@@ -314,7 +315,7 @@ final class PackageAbiHelperImpl implements PackageAbiHelper {

    @NonNull
    private static String[] getNativelySupportedAbis(@NonNull String[] supportedAbis) {
        Set<String> nativelySupportedAbis = new ArraySet<>();
        List<String> nativelySupportedAbis = new ArrayList<>();
        for (int i = 0; i < supportedAbis.length; i++) {
            final String currentAbi = supportedAbis[i];
            // In presence of a native bridge this means the Abi is emulated.