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
@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() {
*/
private static final class DebugFlags {
static final DebugFlag FLAG_OPTIMIZE_START_INPUT =
- new DebugFlag("debug.optimize_startinput");
+ new DebugFlag("debug.optimize_startinput", false);
}