From 63ec2d64196144b2d15d2baffedccfa011d6494f Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 9 Nov 2015 13:10:36 -0800 Subject: Create device-encrypted directories for apps. When device has FBE, create device-encrypted storage location when installing apps. Also remove "renamepkg" unused command. Bug: 22358539 Change-Id: Ic56eeecdc64bdaa7429b93426727a243a4e45f47 --- cmds/installd/installd.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cmds/installd/installd.cpp') diff --git a/cmds/installd/installd.cpp b/cmds/installd/installd.cpp index 7a161504ec..52f7b9cb5e 100644 --- a/cmds/installd/installd.cpp +++ b/cmds/installd/installd.cpp @@ -72,11 +72,6 @@ static int do_remove(char **arg, char reply[REPLY_MAX] __unused) return uninstall(parse_null(arg[0]), arg[1], atoi(arg[2])); /* uuid, pkgname, userid */ } -static int do_rename(char **arg, char reply[REPLY_MAX] __unused) -{ - return renamepkg(arg[0], arg[1]); /* oldpkgname, newpkgname */ -} - static int do_fixuid(char **arg, char reply[REPLY_MAX] __unused) { return fix_uid(parse_null(arg[0]), arg[1], atoi(arg[2]), atoi(arg[3])); /* uuid, pkgname, uid, gid */ @@ -198,7 +193,6 @@ struct cmdinfo cmds[] = { { "movedex", 3, do_move_dex }, { "rmdex", 2, do_rm_dex }, { "remove", 3, do_remove }, - { "rename", 2, do_rename }, { "fixuid", 4, do_fixuid }, { "freecache", 2, do_free_cache }, { "rmcache", 3, do_rm_cache }, -- cgit v1.2.3-59-g8ed1b