diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-04-08 18:13:46 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-04-10 19:37:13 -0700 |
commit | 18bf8e2ffde3444d53aaa9654da02cdedd0b7cd1 (patch) | |
tree | 15497c0479cbde4c3db977e4850ba72b60912c67 /src/com/android/launcher3/LauncherAccessibilityDelegate.java | |
parent | d9760ee2de0a245fe0a0c11891723ef3f1513de9 (diff) | |
download | android_packages_apps_Trebuchet-18bf8e2ffde3444d53aaa9654da02cdedd0b7cd1.tar.gz android_packages_apps_Trebuchet-18bf8e2ffde3444d53aaa9654da02cdedd0b7cd1.tar.bz2 android_packages_apps_Trebuchet-18bf8e2ffde3444d53aaa9654da02cdedd0b7cd1.zip |
Automatically adding managed profile shortcuts to homescreen.
When the managed profile is created, a "Work" folder is created
and added to the homescreen. All work profile apps are added to this
folder and icons for subsequent installs (withing a fixed time frame)
are automatically added to this folder.
If this folder get deleted or the time-frame expires, icon for any new
install is placed on the homescreen.
Bug: 17410319
Change-Id: I49f4e437707d5eabe4eec85320765bf6ba7fde97
Diffstat (limited to 'src/com/android/launcher3/LauncherAccessibilityDelegate.java')
-rw-r--r-- | src/com/android/launcher3/LauncherAccessibilityDelegate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/LauncherAccessibilityDelegate.java b/src/com/android/launcher3/LauncherAccessibilityDelegate.java index 42f1914c6..cfc1bd96c 100644 --- a/src/com/android/launcher3/LauncherAccessibilityDelegate.java +++ b/src/com/android/launcher3/LauncherAccessibilityDelegate.java @@ -124,7 +124,7 @@ public class LauncherAccessibilityDelegate extends AccessibilityDelegate { mLauncher.showWorkspace(true, new Runnable() { @Override public void run() { - mLauncher.getModel().addAndBindAddedWorkspaceApps( + mLauncher.getModel().addAndBindAddedWorkspaceItems( mLauncher, addShortcuts, screenProvider, 0, true); announceConfirmation(R.string.item_added_to_workspace); } |