From b52c7330d986e62812fd7c1b77020629e8ff7930 Mon Sep 17 00:00:00 2001 From: Xiaohui Chen Date: Thu, 6 Aug 2015 14:05:35 -0700 Subject: Clean up USER_OWNER reference in cmds. Again, the easy ones. Bug: 19913735 Change-Id: Ib9519cb8309b332258b20dee54a38007eaba3b1d --- cmds/content/src/com/android/commands/content/Content.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cmds/content/src') diff --git a/cmds/content/src/com/android/commands/content/Content.java b/cmds/content/src/com/android/commands/content/Content.java index c0ed8935dc2c..d43b8c564e96 100644 --- a/cmds/content/src/com/android/commands/content/Content.java +++ b/cmds/content/src/com/android/commands/content/Content.java @@ -184,7 +184,7 @@ public class Content { private InsertCommand parseInsertCommand() { Uri uri = null; - int userId = UserHandle.USER_OWNER; + int userId = UserHandle.USER_SYSTEM; ContentValues values = new ContentValues(); for (String argument; (argument = mTokenizer.nextArg()) != null;) { if (ARGUMENT_URI.equals(argument)) { @@ -210,7 +210,7 @@ public class Content { private DeleteCommand parseDeleteCommand() { Uri uri = null; - int userId = UserHandle.USER_OWNER; + int userId = UserHandle.USER_SYSTEM; String where = null; for (String argument; (argument = mTokenizer.nextArg())!= null;) { if (ARGUMENT_URI.equals(argument)) { @@ -232,7 +232,7 @@ public class Content { private UpdateCommand parseUpdateCommand() { Uri uri = null; - int userId = UserHandle.USER_OWNER; + int userId = UserHandle.USER_SYSTEM; String where = null; ContentValues values = new ContentValues(); for (String argument; (argument = mTokenizer.nextArg())!= null;) { @@ -261,7 +261,7 @@ public class Content { public CallCommand parseCallCommand() { String method = null; - int userId = UserHandle.USER_OWNER; + int userId = UserHandle.USER_SYSTEM; String arg = null; Uri uri = null; ContentValues values = new ContentValues(); @@ -293,7 +293,7 @@ public class Content { private ReadCommand parseReadCommand() { Uri uri = null; - int userId = UserHandle.USER_OWNER; + int userId = UserHandle.USER_SYSTEM; for (String argument; (argument = mTokenizer.nextArg())!= null;) { if (ARGUMENT_URI.equals(argument)) { uri = Uri.parse(argumentValueRequired(argument)); @@ -312,7 +312,7 @@ public class Content { public QueryCommand parseQueryCommand() { Uri uri = null; - int userId = UserHandle.USER_OWNER; + int userId = UserHandle.USER_SYSTEM; String[] projection = null; String sort = null; String where = null; -- cgit v1.2.3-59-g8ed1b