ddec1c739e
b/26494415 - Removed bundle object that became redundant now that we have LauncherEvent proto - Combined Stats and UserEventLogger as they are effectively doing same thing - Removed parent field inside Target - added predictedRank target inside Target b/27967359 - make com.android.launcher3.action.LAUNCH broadcast explicit Later CL: finish packageName/intent/componentHash/predictedRank fields Change-Id: I441fb46c834f73e58a4d2324e8da7971e8713ec8
47 lines
1.9 KiB
Java
47 lines
1.9 KiB
Java
package com.android.launcher3;
|
|
|
|
import java.util.Arrays;
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Central list of files the Launcher writes to the application data directory.
|
|
*
|
|
* To add a new Launcher file, create a String constant referring to the filename, and add it to
|
|
* ALL_FILES, as shown below.
|
|
*/
|
|
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";
|
|
|
|
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,
|
|
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"));
|
|
}
|