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

Commit 4d254266 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

Remove unused code.

Change-Id: I6785cea91c0ab2c367645201fb8862dbf1a55773
parent efafb775
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
@@ -290,27 +290,6 @@ public final class Installer {
        return execute(builder.toString());
    }

    /**
     * Clone all the package data directories from srcUserId to targetUserId. If copyData is true,
     * some of the data is also copied, otherwise just empty directories are created with the
     * correct access rights.
     * @param srcUserId user to copy the data directories from
     * @param targetUserId user to copy the data directories to
     * @param copyData whether the data itself is to be copied. If false, empty directories are
     * created.
     * @return success/error code
     */
    public int cloneUserData(int srcUserId, int targetUserId, boolean copyData) {
        StringBuilder builder = new StringBuilder("cloneuserdata");
        builder.append(' ');
        builder.append(srcUserId);
        builder.append(' ');
        builder.append(targetUserId);
        builder.append(' ');
        builder.append(copyData ? '1' : '0');
        return execute(builder.toString());
    }

    public boolean ping() {
        if (execute("ping") < 0) {
            return false;