Loading services/core/java/com/android/server/pm/LauncherAppsService.java +2 −1 Original line number Diff line number Diff line Loading @@ -380,7 +380,8 @@ public class LauncherAppsService extends SystemService { "To query by shortcut ID, package name must also be set"); } return new ParceledListSlice<>( // TODO(b/29399275): Eclipse compiler requires explicit List<ShortcutInfo> cast below. return new ParceledListSlice<>((List<ShortcutInfo>) mShortcutServiceInternal.getShortcuts(getCallingUserId(), callingPackage, changedSince, packageName, shortcutIds, componentName, flags, user.getIdentifier())); Loading Loading
services/core/java/com/android/server/pm/LauncherAppsService.java +2 −1 Original line number Diff line number Diff line Loading @@ -380,7 +380,8 @@ public class LauncherAppsService extends SystemService { "To query by shortcut ID, package name must also be set"); } return new ParceledListSlice<>( // TODO(b/29399275): Eclipse compiler requires explicit List<ShortcutInfo> cast below. return new ParceledListSlice<>((List<ShortcutInfo>) mShortcutServiceInternal.getShortcuts(getCallingUserId(), callingPackage, changedSince, packageName, shortcutIds, componentName, flags, user.getIdentifier())); Loading