diff options
author | Christopher Tate <ctate@google.com> | 2012-08-13 17:36:14 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2012-08-13 17:36:14 -0700 |
commit | aac71ff465399251fa8e830407f2917b986988d9 (patch) | |
tree | 12178251368dfef76d9d23ed8a493358e7ab514c /core/java/android/os/UserId.java | |
parent | 38cc2a5a3ad076fbbb0824a91f49730a4297549b (diff) | |
download | frameworks_base-aac71ff465399251fa8e830407f2917b986988d9.zip frameworks_base-aac71ff465399251fa8e830407f2917b986988d9.tar.gz frameworks_base-aac71ff465399251fa8e830407f2917b986988d9.tar.bz2 |
Don't back up / restore non-primary users' data
For now only the device owner "user" gets cloud backups. Also, only the
device owner account has access to local backup/restore.
Bug 6956438
Change-Id: I87d7ba5969e606c23f4214469f9bf2fd47a6c61b
Diffstat (limited to 'core/java/android/os/UserId.java')
-rw-r--r-- | core/java/android/os/UserId.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/os/UserId.java b/core/java/android/os/UserId.java index 7e611df..18a3062 100644 --- a/core/java/android/os/UserId.java +++ b/core/java/android/os/UserId.java @@ -33,6 +33,8 @@ public final class UserId { /** A user id to indicate the currently active user */ public static final int USER_CURRENT = -2; + /** A user id constant to indicate the "owner" user of the device */ + public static final int USER_OWNER = 0; /** * Enable multi-user related side effects. Set this to false if there are problems with single |