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

Commit 1c042c5d authored by Tarandeep Singh's avatar Tarandeep Singh
Browse files

Disable optimize startInput in IMMS

Disable optimize start input for P since there are few corner cases that
are not been fully adressed. One solution could be to call finishInput() on every
window focusing-out in bug 9216494

Change-Id: I4deb0a5e5e2ba951ec551e399636736dc0208154
Fixes: 76078731
Bug: 37617707
Test: atest CtsInputMethodTestCases
parent 5d270977
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -266,9 +266,9 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
        @GuardedBy("LOCK")
        private boolean mValue;

        public DebugFlag(String key) {
        public DebugFlag(String key, boolean defaultValue) {
            mKey = key;
            refresh();
            mValue = SystemProperties.getBoolean(key, defaultValue);
        }

        void refresh() {
@@ -290,7 +290,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
     */
    private static final class DebugFlags {
        static final DebugFlag FLAG_OPTIMIZE_START_INPUT =
                new DebugFlag("debug.optimize_startinput");
                new DebugFlag("debug.optimize_startinput", false);
    }