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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user