blob: 89600c2df74eee65c79519756e7fd4d05d59ffa9 [file] [log] [blame]
Helena Josol4fbbb3e2014-10-06 16:06:46 +01001package com.android.launcher3;
2
3import java.util.Arrays;
4import java.util.Collections;
5import java.util.List;
6
7/**
8 * Central list of files the Launcher writes to the application data directory.
9 *
10 * To add a new Launcher file, create a String constant referring to the filename, and add it to
11 * ALL_FILES, as shown below.
12 */
13public class LauncherFiles {
14
15 public static final String SHARED_PREFS = "com.android.launcher3.prefs.xml";
16 public static final String LAUNCHER_DB = "launcher.db";
17 public static final String LAUNCHER_PREFS = "launcher.preferences";
18 public static final String WALLPAPER_IMAGES_DB = "saved_wallpaper_images.db";
19 public static final String WIDGET_PREVIEWS_DB = "widgetpreviews.db";
20
21 public static final List<String> ALL_FILES = Collections.unmodifiableList(Arrays.asList(
22 SHARED_PREFS,
23 LAUNCHER_DB,
24 LAUNCHER_PREFS,
25 WALLPAPER_IMAGES_DB,
26 WIDGET_PREVIEWS_DB));
27}