Merge "Improve ShortcutSrvice" into nyc-dev am: 45c1827

am: 706928d

* commit '706928df5d361e15623108a8f47fae28cad5a9d7':
  Improve ShortcutSrvice
This commit is contained in:
Makoto Onuki
2016-03-17 23:42:34 +00:00
committed by android-build-merger
5 changed files with 252 additions and 121 deletions

View File

@@ -160,7 +160,8 @@ public class LauncherApps {
* as defined in {@link #hasShortcutHostPermission()}, will receive it.
*
* @param packageName The name of the package that has the shortcuts.
* @param shortcuts all shortcuts from the package (dynamic and/or pinned).
* @param shortcuts all shortcuts from the package (dynamic and/or pinned). Only "key"
* information will be provided, as defined in {@link ShortcutInfo#hasKeyFieldsOnly()}.
* @param user The UserHandle of the profile that generated the change.
*/
public void onShortcutsChanged(@NonNull String packageName,

View File

@@ -46,8 +46,6 @@ import java.lang.annotation.RetentionPolicy;
* if necessary, and persisted.
*
* We will disallow byte[] icons, because they can easily go over binder size limit.
*
* TODO Move save/load to this class
*/
public class ShortcutInfo implements Parcelable {
/* @hide */