diff options
author | Kenny Guy <kennyguy@google.com> | 2014-04-29 14:24:18 +0100 |
---|---|---|
committer | Kenny Guy <kennyguy@google.com> | 2014-04-29 19:28:31 +0100 |
commit | 53fa4ec7f466e70fe3e33d15c4abfc9bb557eb10 (patch) | |
tree | d0b0b6961f0cd29b70e75ef4d30823cb7bdfaacb /api | |
parent | b039603867176c01c84ec1cbae681cb9868a4525 (diff) | |
download | frameworks_base-53fa4ec7f466e70fe3e33d15c4abfc9bb557eb10.zip frameworks_base-53fa4ec7f466e70fe3e33d15c4abfc9bb557eb10.tar.gz frameworks_base-53fa4ec7f466e70fe3e33d15c4abfc9bb557eb10.tar.bz2 |
Extend LauncherApps service to expose enabled state.
Provide methods for checking if a package or activity
is enabled for a given profile.
Change-Id: If9cb15dc9398a709e60e7b689b664c24c49fcc16
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 4fef0d0..171c5f9 100644 --- a/api/current.txt +++ b/api/current.txt @@ -7745,6 +7745,8 @@ package android.content.pm { public class LauncherApps { method public synchronized void addOnAppsChangedListener(android.content.pm.LauncherApps.OnAppsChangedListener); method public java.util.List<android.content.pm.LauncherActivityInfo> getActivityList(java.lang.String, android.os.UserHandle); + method public boolean isActivityEnabledForProfile(android.content.ComponentName, android.os.UserHandle); + method public boolean isPackageEnabledForProfile(java.lang.String, android.os.UserHandle); method public synchronized void removeOnAppsChangedListener(android.content.pm.LauncherApps.OnAppsChangedListener); method public android.content.pm.LauncherActivityInfo resolveActivity(android.content.Intent, android.os.UserHandle); method public void startActivityForProfile(android.content.ComponentName, android.graphics.Rect, android.os.Bundle, android.os.UserHandle); |