Skip to content
Commit 56139792 authored by Svet Ganov's avatar Svet Ganov
Browse files

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
parent 9e7649d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment