Files
Flexera-Launcher/src/com/android/launcher3/util/LogConfig.java
T
Anushree Ganjam a461660fa8 Introduce KeyboardStateManager to maintain keyboardstate as show or hide.
- Add a feature flag for IME Latency logging.

- Removed mShowImeAfterFirstLayout from ExtendedEditText.

   http://ag/1414509 added `mShowImeAfterFirstLayout`and cl description
   says "Show IME when search query != null after rotation".

   I verified the behavior by turning on "Allow home screen rotation".
   Keyboard is not getting dismissed on rotation in AA+ screen in a-z list
   or even in the search screen.
   Video : https://drive.google.com/file/d/1BWUTrW9OSEo6ojErj8INMwjFCPArVD4B/view?usp=sharing&resourcekey=0-SXTcKyUw1wCSi8Bm37ktow

Bug: 240192346
Test: Manual.

Verified by setting `ENABLE_KEYBOARD_TRANSITION_SYNC` to false and for
following usecases.

- All apps entry with ime enabled, scrolling a-z list to hide keyboard
- Folder name change - showing and dismissing keyboard
- Toast entry from Allapps and QSB - showing and dismissing keyboard

Change-Id: I1a6b5759b8e71e77744f58677b6d1b73e2f633e8
2022-09-09 04:32:33 +00:00

49 lines
1.4 KiB
Java

package com.android.launcher3.util;
/**
* This is a utility class that keeps track of all the tag that can be enabled to debug
* a behavior in runtime.
*
* To use any of the strings defined in this class, execute the following command.
*
* $ adb shell setprop log.tag.TAGNAME VERBOSE
*/
public class LogConfig {
// These are list of strings that can be used to replace TAGNAME.
public static final String STATSLOG = "StatsLog";
/**
* After this tag is turned on, whenever there is n user event, debug information is
* printed out to logcat.
*/
public static final String USEREVENT = "UserEvent";
/**
* When turned on, all icons are kept on the home screen, even if they don't have an active
* session.
*/
public static final String KEEP_ALL_ICONS = "KeepAllIcons";
/**
* When turned on, icon cache is only fetched from memory and not disk.
*/
public static final String MEMORY_ONLY_ICON_CACHE = "MemoryOnlyIconCache";
/**
* When turned on, we enable doodle related logging.
*/
public static final String DOODLE_LOGGING = "DoodleLogging";
/**
* When turned on, we enable suggest related logging.
*/
public static final String SEARCH_LOGGING = "SearchLogging";
/**
* When turned on, we enable IME related latency related logging.
*/
public static final String IME_LATENCY_LOGGING = "ImeLatencyLogging";
}