Helena Josol | 4fbbb3e | 2014-10-06 16:06:46 +0100 | [diff] [blame^] | 1 | package com.android.launcher3; |
| 2 | |
| 3 | import java.util.Arrays; |
| 4 | import java.util.Collections; |
| 5 | import 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 | */ |
| 13 | public 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 | } |