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

Commit ebd1c5e8 authored by Erik Wolsheimer's avatar Erik Wolsheimer Committed by android-build-merger
Browse files

Match semantics of ArrayList#toArray in Config's use thereof am: 19f672c2

am: 99c8fe9d

Change-Id: Ied09be7f5ddc6bc6469838e114cb2cc3a6442054
parents c9dba7f3 99c8fe9d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -98,9 +98,7 @@ public class Config {
                profiles.add(PROFILE_SERVICES[i]);
            }
        }
        int totalProfiles = profiles.size();
        SUPPORTED_PROFILES = new Class[totalProfiles];
        profiles.toArray(SUPPORTED_PROFILES);
        SUPPORTED_PROFILES = profiles.toArray(new Class[profiles.size()]);
    }

    static Class[]  getSupportedProfiles() {