Don't warn for displays with no input device matching.
Creating a virtual display via the public APIs prevents from using the @hide VIRTUAL_DISPLAY_FLAG_SUPPORTS_TOUCH flag in createVirtualDisplay. Not passing this flag results in viewport DisplayDeviceInfo.TOUCH_NONE, i.e. the input system will not be dispatching to it. This results in a warning being logged for a valid per public API contract case. Test: No warning logs for displays with no input device matching. Upstream from Meta. Change-Id: I0d4386542a85cdf4c6322d934338dbde4ae2bb10
Loading
Please register or sign in to comment