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

Commit 13eac10a authored by Daniel Micay's avatar Daniel Micay
Browse files

WrapperInit: remove dead execStandalone method

This became dead with the removal of support for the non-runtime-init
code path in f48029f0.

Change-Id: Id68e0da4658e83f0d3bfd8645152165faacac5fa
parent 24ff6823
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -121,22 +121,4 @@ public class WrapperInit {
        Zygote.appendQuotedShellArgs(command, args);
        Zygote.execShell(command.toString());
    }

    /**
     * Executes a standalone application with a wrapper command.
     * This method never returns.
     *
     * @param invokeWith The wrapper command.
     * @param classPath The class path.
     * @param className The class name to invoke.
     * @param args Arguments for the main() method of the specified class.
     */
    public static void execStandalone(String invokeWith, String classPath, String className,
            String[] args) {
        StringBuilder command = new StringBuilder(invokeWith);
        command.append(" /system/bin/dalvikvm -classpath '").append(classPath);
        command.append("' ").append(className);
        Zygote.appendQuotedShellArgs(command, args);
        Zygote.execShell(command.toString());
    }
}