From 6fe28a06012250da85f808a0869f87e06e0bcce9 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Thu, 9 Apr 2015 13:10:03 -0700 Subject: Start accepting volume UUIDs from framework. We're now parsing and passing through volume UUIDs sent across the command socket. The "!" argument value is treated as null, which means internal storage. Bug: 19993667 Change-Id: I17729a769ce687a2e94e85991a6338c77ded0b66 --- cmds/installd/commands.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmds/installd/commands.cpp') diff --git a/cmds/installd/commands.cpp b/cmds/installd/commands.cpp index ea59f5b681..32a03f49de 100644 --- a/cmds/installd/commands.cpp +++ b/cmds/installd/commands.cpp @@ -1542,8 +1542,7 @@ fail: return -1; } -// TODO: extend to know about other volumes -int restorecon_data(const char* uuid __attribute__((unused)), const char* pkgName, +int restorecon_data(const char* uuid, const char* pkgName, const char* seinfo, uid_t uid) { struct dirent *entry; -- cgit v1.2.3-59-g8ed1b