summaryrefslogtreecommitdiff
path: root/cmds/settings
diff options
context:
space:
mode:
authorXiaohui Chen <xiaohuic@google.com>2015-08-06 14:05:35 -0700
committerXiaohui Chen <xiaohuic@google.com>2015-08-06 14:05:35 -0700
commitb52c7330d986e62812fd7c1b77020629e8ff7930 (patch)
tree80da99a7eec1bf9ea01cc4afd85e0eb2715ffe16 /cmds/settings
parent09e02917ff7bb36b89d13fd5df10d2d3c43d5fe9 (diff)
Clean up USER_OWNER reference in cmds.
Again, the easy ones. Bug: 19913735 Change-Id: Ib9519cb8309b332258b20dee54a38007eaba3b1d
Diffstat (limited to 'cmds/settings')
-rw-r--r--cmds/settings/src/com/android/commands/settings/SettingsCmd.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmds/settings/src/com/android/commands/settings/SettingsCmd.java b/cmds/settings/src/com/android/commands/settings/SettingsCmd.java
index c27d0c099b91..a675769a7f04 100644
--- a/cmds/settings/src/com/android/commands/settings/SettingsCmd.java
+++ b/cmds/settings/src/com/android/commands/settings/SettingsCmd.java
@@ -130,7 +130,7 @@ public final class SettingsCmd {
if (valid) {
if (mUser < 0) {
- mUser = UserHandle.USER_OWNER;
+ mUser = UserHandle.USER_SYSTEM;
}
try {
@@ -139,7 +139,7 @@ public final class SettingsCmd {
IBinder token = new Binder();
try {
ContentProviderHolder holder = activityManager.getContentProviderExternal(
- "settings", UserHandle.USER_OWNER, token);
+ "settings", UserHandle.USER_SYSTEM, token);
if (holder == null) {
throw new IllegalStateException("Could not find settings provider");
}
@@ -291,7 +291,8 @@ public final class SettingsCmd {
System.err.println(" settings [--user NUM] delete namespace key");
System.err.println(" settings [--user NUM] list namespace");
System.err.println("\n'namespace' is one of {system, secure, global}, case-insensitive");
- System.err.println("If '--user NUM' is not given, the operations are performed on the owner user.");
+ System.err.println("If '--user NUM' is not given, the operations are performed on the"
+ + "system user.");
}
public static String resolveCallingPackage() {