am b5153aba: Hide APIs renamed during API review of LauncherApps

* commit 'b5153aba264932068895228d3dde4e32a4ef271c':
  Hide APIs renamed during API review of LauncherApps
This commit is contained in:
Kenny Guy
2014-09-12 18:51:53 +00:00
committed by Android Git Automerger
2 changed files with 9 additions and 4 deletions

View File

@@ -8622,13 +8622,11 @@ package android.content.pm {
}
public class LauncherApps {
method public void addCallback(android.content.pm.LauncherApps.Callback);
method public java.util.List<android.content.pm.LauncherActivityInfo> getActivityList(java.lang.String, android.os.UserHandle);
method public boolean isActivityEnabled(android.content.ComponentName, android.os.UserHandle);
method public boolean isPackageEnabled(java.lang.String, android.os.UserHandle);
method public void registerCallback(android.content.pm.LauncherApps.Callback);
method public void registerCallback(android.content.pm.LauncherApps.Callback, android.os.Handler);
method public void removeCallback(android.content.pm.LauncherApps.Callback);
method public android.content.pm.LauncherActivityInfo resolveActivity(android.content.Intent, android.os.UserHandle);
method public void startAppDetailsActivity(android.content.ComponentName, android.os.UserHandle, android.graphics.Rect, android.os.Bundle);
method public void startMainActivity(android.content.ComponentName, android.os.UserHandle, android.graphics.Rect, android.os.Bundle);

View File

@@ -500,11 +500,18 @@ public class LauncherApps {
}
}
/** STOPSHIP remove when launcher 3 has been updated */
/**
* TODO Remove after 2014-09-22
* @hide
*/
public void addCallback(Callback callback) {
registerCallback(callback);
}
/** STOPSHIP remove when launcher 3 has been updated */
/**
* TODO Remove after 2014-09-22
* @hide
*/
public void removeCallback(Callback callback) {
unregisterCallback(callback);
}