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

Commit 6f356936 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "remove apex or capex extension from apex" into main

parents c71ece32 0437d3c0
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -78,14 +78,8 @@ public class DeviceProtosTestUtil {
        }

        for (File prefix : subdirs) {
            // For each mainline modules, there are two directories, one <modulepackage>/,
            // and one <modulepackage>@<versioncode>/. Just read the former.
            if (!prefix.getAbsolutePath().endsWith(".apex")) {
                continue;
            }

            String apexName = prefix.getName().replace("com.google", "com");
            apexName = apexName.substring(0, apexName.length() - 5);
            apexName = apexName.substring(0, apexName.lastIndexOf('.'));

            File protoPath = new File(APEX_DIR + apexName + APEX_ACONFIG_PATH_SUFFIX);
            if (!protoPath.exists()) {