From 18bf8e2ffde3444d53aaa9654da02cdedd0b7cd1 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Wed, 8 Apr 2015 18:13:46 -0700 Subject: 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 --- src/com/android/launcher3/LauncherFiles.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/com/android/launcher3/LauncherFiles.java') diff --git a/src/com/android/launcher3/LauncherFiles.java b/src/com/android/launcher3/LauncherFiles.java index 699cb37ff..9dd8dc50c 100644 --- a/src/com/android/launcher3/LauncherFiles.java +++ b/src/com/android/launcher3/LauncherFiles.java @@ -21,6 +21,7 @@ public class LauncherFiles { public static final String SHARED_PREFERENCES_KEY = "com.android.launcher3.prefs"; public static final String WALLPAPER_CROP_PREFERENCES_KEY = "com.android.launcher3.WallpaperCropActivity"; + public static final String MANAGED_USER_PREFERENCES_KEY = "com.android.launcher3.managedusers.prefs"; public static final String WALLPAPER_IMAGES_DB = "saved_wallpaper_images.db"; public static final String WIDGET_PREVIEWS_DB = "widgetpreviews.db"; @@ -35,6 +36,7 @@ public class LauncherFiles { WALLPAPER_CROP_PREFERENCES_KEY + XML, WALLPAPER_IMAGES_DB, WIDGET_PREVIEWS_DB, + MANAGED_USER_PREFERENCES_KEY, APP_ICONS_DB)); // TODO: Delete these files on upgrade -- cgit v1.2.3