All Methods Instance Methods Concrete Methods
Modifier and Type |
Method |
Description |
void |
addActivity(UserHandle userHandle,
LauncherActivityInfo activityInfo) |
|
void |
addDynamicShortcut(ShortcutInfo shortcutInfo) |
|
void |
addEnabledPackage(UserHandle userHandle,
String packageName) |
|
protected List<LauncherActivityInfo> |
getActivityList(String packageName,
UserHandle user) |
|
protected List<PackageInstaller.SessionInfo> |
getAllPackageInstallerSessions() |
|
protected IntentSender |
getShortcutConfigActivityIntent(LauncherActivityInfo info) |
|
protected List<LauncherActivityInfo> |
getShortcutConfigActivityList(String packageName,
UserHandle user) |
|
protected List<ShortcutInfo> |
getShortcuts(LauncherApps.ShortcutQuery query,
UserHandle user) |
This method is an incomplete implementation of this API that only supports querying for pinned
dynamic shortcuts.
|
protected Bundle |
getSuspendedPackageLauncherExtras(String packageName,
UserHandle user) |
|
protected boolean |
hasShortcutHostPermission() |
|
protected boolean |
isActivityEnabled(ComponentName component,
UserHandle user) |
|
protected boolean |
isPackageEnabled(String packageName,
UserHandle user) |
|
void |
notifyPackageAdded(String packageName) |
|
void |
notifyPackageRemoved(String packageName) |
|
protected void |
pinShortcuts(String packageName,
List<String> shortcutIds,
UserHandle user) |
|
protected void |
registerCallback(LauncherApps.Callback callback) |
|
protected void |
registerCallback(LauncherApps.Callback callback,
Handler handler) |
|
protected void |
registerPackageInstallerSessionCallback(Executor executor,
PackageInstaller.SessionCallback callback) |
|
protected boolean |
shouldHideFromSuggestions(String packageName,
UserHandle user) |
|
protected void |
startAppDetailsActivity(ComponentName component,
UserHandle user,
Rect sourceBounds,
Bundle opts) |
|
protected void |
startPackageInstallerSessionDetailsActivity(PackageInstaller.SessionInfo sessionInfo,
Rect sourceBounds,
Bundle opts) |
|
protected void |
startShortcut(ShortcutInfo shortcut,
Rect sourceBounds,
Bundle startActivityOptions) |
|
protected void |
startShortcut(String packageName,
String shortcutId,
Rect sourceBounds,
Bundle startActivityOptions,
UserHandle user) |
|
protected void |
unregisterCallback(LauncherApps.Callback callback) |
|
protected void |
unregisterPackageInstallerSessionCallback(PackageInstaller.SessionCallback callback) |
|