Increase StartInputHistory entry size
We have been receiving an increasing number of reports that say the device went to a weird state where the keyboard stopped showing up. One of the challenges when diagnosing this types of issues is that the reporter often keeps using the device after triggering the bugreport and the most important logs in StartInputHistory were already gone when InputMethodManagerService#dump() got called. Ideally IMMS should be able to suppress logging while a bugreport is being taken, but let's simply increase the entry size for now. Bug: 171637033 Bug: 171792138 Bug: 171597353 Test: adb shell dumpsys input_method Change-Id: I10450c7b78908a8c16949fa94f76fc76156a3bc2
This commit is contained in:
@@ -938,7 +938,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
* <p>TODO: Consider to follow what other system services have been doing to manage
|
||||
* constants (e.g. {@link android.provider.Settings.Global#ACTIVITY_MANAGER_CONSTANTS}).</p>
|
||||
*/
|
||||
private final static int ENTRY_SIZE_FOR_HIGH_RAM_DEVICE = 16;
|
||||
private final static int ENTRY_SIZE_FOR_HIGH_RAM_DEVICE = 32;
|
||||
|
||||
/**
|
||||
* Entry size for non low-RAM devices.
|
||||
|
||||
Reference in New Issue
Block a user