Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d96bb825 authored by Taran Singh's avatar Taran Singh Committed by Automerger Merge Worker
Browse files

Merge "Shorten IME surface caching duration" into tm-dev am: c54e991b am: a72019a7

parents aa060057 a72019a7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();