Merge "Add missing validation in IInputMethodWrapper" into udc-dev

This commit is contained in:
Adrian Roos
2023-04-24 09:10:30 +00:00
committed by Android (Google) Code Review

View File

@@ -304,7 +304,9 @@ class IInputMethodWrapper extends IInputMethod.Stub
return;
}
case DO_SET_STYLUS_WINDOW_IDLE_TIMEOUT: {
inputMethod.setStylusWindowIdleTimeoutForTest((long) msg.obj);
if (isValid(inputMethod, target, "DO_SET_STYLUS_WINDOW_IDLE_TIMEOUT")) {
inputMethod.setStylusWindowIdleTimeoutForTest((long) msg.obj);
}
return;
}
}