Merge "Provide a timeout for SurfaceControl" into rvc-dev

This commit is contained in:
Siarhei Vishniakou
2020-05-04 16:32:26 +00:00
committed by Android (Google) Code Review

View File

@@ -8051,7 +8051,7 @@ public class WindowManagerService extends IWindowManager.Stub
| LayoutParams.FLAG_SLIPPERY);
h.layoutParamsFlags = WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL | sanitizedFlags;
h.layoutParamsType = 0;
h.dispatchingTimeoutNanos = -1;
h.dispatchingTimeoutNanos = DEFAULT_INPUT_DISPATCHING_TIMEOUT_NANOS;
h.canReceiveKeys = false;
h.hasFocus = false;
h.hasWallpaper = false;