Merge "Shorten IME surface caching duration" into tm-dev
This commit is contained in:
@@ -482,8 +482,9 @@ public class InputMethodService extends AbstractInputMethodService {
|
||||
|
||||
/**
|
||||
* Timeout after which hidden IME surface will be removed from memory
|
||||
* TODO(b/230762351): reset timeout to 5000ms and invalidate cache when IME insets change.
|
||||
*/
|
||||
private static final long TIMEOUT_SURFACE_REMOVAL_MILLIS = 5000;
|
||||
private static final long TIMEOUT_SURFACE_REMOVAL_MILLIS = 500;
|
||||
|
||||
InputMethodManager mImm;
|
||||
private InputMethodPrivilegedOperations mPrivOps = new InputMethodPrivilegedOperations();
|
||||
|
||||
Reference in New Issue
Block a user