Hyunyoung Song | 3c7d9cb | 2017-01-30 15:11:27 -0800 | [diff] [blame] | 1 | package com.android.launcher3.util; |
| 2 | |
| 3 | /** |
| 4 | * This is a utility class that keeps track of all the tag that can be enabled to debug |
| 5 | * a behavior in runtime. |
| 6 | * |
| 7 | * To use any of the strings defined in this class, execute the following command. |
| 8 | * |
| 9 | * $ adb shell setprop log.tag.TAGNAME VERBOSE |
| 10 | */ |
| 11 | |
| 12 | public class LogConfig { |
| 13 | // These are list of strings that can be used to replace TAGNAME. |
| 14 | |
| 15 | /** |
| 16 | * After this tag is turned on, whenever there is n user event, debug information is |
| 17 | * printed out to logcat. |
| 18 | */ |
| 19 | public static final String USEREVENT = "UserEvent"; |
| 20 | |
| 21 | /** |
| 22 | * When turned on, all icons are kept on the home screen, even if they don't have an active |
| 23 | * session. |
| 24 | */ |
| 25 | public static final String KEEP_ALL_ICONS = "KeepAllIcons"; |
| 26 | |
| 27 | /** |
| 28 | * When turned on, icon cache is only fetched from memory and not disk. |
| 29 | */ |
| 30 | public static final String MEMORY_ONLY_ICON_CACHE = "MemoryOnlyIconCache"; |
Jon Miranda | d1589d4 | 2020-01-07 11:40:06 -0800 | [diff] [blame^] | 31 | |
| 32 | /** |
| 33 | * When turned on, we enable doodle related logging. |
| 34 | */ |
| 35 | public static final String DOODLE_LOGGING = "DoodleLogging"; |
Hyunyoung Song | 3c7d9cb | 2017-01-30 15:11:27 -0800 | [diff] [blame] | 36 | } |