diff options
author | Xiaohui Chen <xiaohuic@google.com> | 2015-08-06 14:05:35 -0700 |
---|---|---|
committer | Xiaohui Chen <xiaohuic@google.com> | 2015-08-06 14:05:35 -0700 |
commit | b52c7330d986e62812fd7c1b77020629e8ff7930 (patch) | |
tree | 80da99a7eec1bf9ea01cc4afd85e0eb2715ffe16 /cmds/content | |
parent | 09e02917ff7bb36b89d13fd5df10d2d3c43d5fe9 (diff) |
Clean up USER_OWNER reference in cmds.
Again, the easy ones.
Bug: 19913735
Change-Id: Ib9519cb8309b332258b20dee54a38007eaba3b1d
Diffstat (limited to 'cmds/content')
-rw-r--r-- | cmds/content/src/com/android/commands/content/Content.java | 12 |
1 files changed, 6 insertions, 6 deletions
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; |