diff options
author | Amith Yamasani <yamasani@google.com> | 2012-02-06 12:04:42 -0800 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-02-10 14:34:07 -0800 |
commit | 37ce3a8af6faab675319d0803b288ab1dddc76be (patch) | |
tree | 4619ebc854dc7c5ebe641bc915599ab6715deed9 /core/java/android/content/Context.java | |
parent | 11ca31729c05a5c82aa298fb52ddebbe08a26627 (diff) | |
download | frameworks_base-37ce3a8af6faab675319d0803b288ab1dddc76be.zip frameworks_base-37ce3a8af6faab675319d0803b288ab1dddc76be.tar.gz frameworks_base-37ce3a8af6faab675319d0803b288ab1dddc76be.tar.bz2 |
Multi-user - wallpaper service
- Allow each user to have their own wallpaper (live or static).
- Migrate old wallpaper on upgrade.
- Update SystemBackupAgent to backup/restore from primary user's
new wallpaper directory.
Reduce dependency on Binder.getOrigCallingUser() by passing the
userId for bindService.
Change-Id: I19c8c3296d3d2efa7f28f951d4b84407489e2166
Diffstat (limited to 'core/java/android/content/Context.java')
-rw-r--r-- | core/java/android/content/Context.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 3d4e354..6d4cdae 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -1307,6 +1307,15 @@ public abstract class Context { int flags); /** + * Same as {@link #bindService(Intent, ServiceConnection, int)}, but with an explicit userId + * argument for use by system server and other multi-user aware code. + * @hide + */ + public boolean bindService(Intent service, ServiceConnection conn, int flags, int userId) { + throw new RuntimeException("Not implemented. Must override in a subclass."); + } + + /** * Disconnect from an application service. You will no longer receive * calls as the service is restarted, and the service is now allowed to * stop at any time. |