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

Commit 99c8fe9d 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

Change-Id: I4861b8f817d8025cce5902b33e1ba6c2cc72a716
parents aba62e95 19f672c2
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() {