mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Adding logic to pull in workspace data from another Launcher3 based
provider. This allows OEMs to keep the user's homescreen intact while changing the default home app package. Bug: 28536314 Change-Id: Ibebfd7dd33aa2cbd9ca28d2d611dd0a4a5971444
This commit is contained in:
@@ -14,33 +14,20 @@ public class LauncherFiles {
|
||||
|
||||
private static final String XML = ".xml";
|
||||
|
||||
public static final String DEFAULT_WALLPAPER_THUMBNAIL = "default_thumb2.jpg";
|
||||
public static final String DEFAULT_WALLPAPER_THUMBNAIL_OLD = "default_thumb.jpg";
|
||||
public static final String LAUNCHER_DB = "launcher.db";
|
||||
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";
|
||||
// This preference file is not backed up to cloud.
|
||||
public static final String DEVICE_PREFERENCES_KEY = "com.android.launcher3.device.prefs";
|
||||
|
||||
public static final String WALLPAPER_IMAGES_DB = "saved_wallpaper_images.db";
|
||||
public static final String WIDGET_PREVIEWS_DB = "widgetpreviews.db";
|
||||
public static final String APP_ICONS_DB = "app_icons.db";
|
||||
|
||||
public static final List<String> ALL_FILES = Collections.unmodifiableList(Arrays.asList(
|
||||
DEFAULT_WALLPAPER_THUMBNAIL,
|
||||
DEFAULT_WALLPAPER_THUMBNAIL_OLD,
|
||||
LAUNCHER_DB,
|
||||
SHARED_PREFERENCES_KEY + XML,
|
||||
WALLPAPER_CROP_PREFERENCES_KEY + XML,
|
||||
WALLPAPER_IMAGES_DB,
|
||||
WIDGET_PREVIEWS_DB,
|
||||
MANAGED_USER_PREFERENCES_KEY + XML,
|
||||
DEVICE_PREFERENCES_KEY + XML,
|
||||
APP_ICONS_DB));
|
||||
|
||||
// TODO: Delete these files on upgrade
|
||||
public static final List<String> OBSOLETE_FILES = Collections.unmodifiableList(Arrays.asList(
|
||||
"launches.logTap",
|
||||
"stats.logTap",
|
||||
"launcher.preferences",
|
||||
"com.android.launcher3.compat.PackageInstallerCompatV16.queue"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user