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

Commit bc6accee 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

parents 03e59253 c54e991b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line 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
     * 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;
    InputMethodManager mImm;
    private InputMethodPrivilegedOperations mPrivOps = new InputMethodPrivilegedOperations();
    private InputMethodPrivilegedOperations mPrivOps = new InputMethodPrivilegedOperations();