diff options
author | Amith Yamasani <yamasani@google.com> | 2014-05-30 15:49:20 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-30 15:49:21 +0000 |
commit | fc2ae28f78a16bfb36564353165c38f16a236d8d (patch) | |
tree | 9669ef7bfc6e01d3680a8f47672dcce4061f4b27 /api | |
parent | a02fe523cc9642a085bd4ae56436b2c0f23fe7a2 (diff) | |
parent | e781c81d3394642583d555e7a5d6f6f8f63bc538 (diff) | |
download | frameworks_base-fc2ae28f78a16bfb36564353165c38f16a236d8d.zip frameworks_base-fc2ae28f78a16bfb36564353165c38f16a236d8d.tar.gz frameworks_base-fc2ae28f78a16bfb36564353165c38f16a236d8d.tar.bz2 |
Merge "Tweak LauncherApps API based on feedback" into lmp-preview-dev
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/api/current.txt b/api/current.txt index f67a01b..3da34b4 100644 --- a/api/current.txt +++ b/api/current.txt @@ -8196,7 +8196,7 @@ package android.content.pm { } public class LauncherActivityInfo { - method public int getApplicationFlags(); + method public android.content.pm.ApplicationInfo getApplicationInfo(); method public android.graphics.drawable.Drawable getBadgedIcon(int); method public android.content.ComponentName getComponentName(); method public long getFirstInstallTime(); @@ -8207,21 +8207,21 @@ package android.content.pm { } public class LauncherApps { - method public synchronized void addOnAppsChangedListener(android.content.pm.LauncherApps.OnAppsChangedListener); + method public 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 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); + method public void startActivityForProfile(android.content.ComponentName, android.os.UserHandle, android.graphics.Rect, android.os.Bundle); } public static abstract interface LauncherApps.OnAppsChangedListener { - method public abstract void onPackageAdded(android.os.UserHandle, java.lang.String); - method public abstract void onPackageChanged(android.os.UserHandle, java.lang.String); - method public abstract void onPackageRemoved(android.os.UserHandle, java.lang.String); - method public abstract void onPackagesAvailable(android.os.UserHandle, java.lang.String[], boolean); - method public abstract void onPackagesUnavailable(android.os.UserHandle, java.lang.String[], boolean); + method public abstract void onPackageAdded(java.lang.String, android.os.UserHandle); + method public abstract void onPackageChanged(java.lang.String, android.os.UserHandle); + method public abstract void onPackageRemoved(java.lang.String, android.os.UserHandle); + method public abstract void onPackagesAvailable(java.lang.String[], android.os.UserHandle, boolean); + method public abstract void onPackagesUnavailable(java.lang.String[], android.os.UserHandle, boolean); } public class PackageInfo implements android.os.Parcelable { |