diff options
| author | 2018-10-03 16:38:28 -0700 | |
|---|---|---|
| committer | 2018-10-15 12:13:34 -0700 | |
| commit | 05a8fe28dbda15c38881462bf273fd258c674fd8 (patch) | |
| tree | f6f1b314027d412e5c533a4dab27da50c81b8c6f /libs/ui/BufferHubMetadata.cpp | |
| parent | 7371fedb5a7b565a8f7cb59a4b2709d62abfc9e4 (diff) | |
Add DisplayViewport native tests
The strategy for finding DisplayViewport has changed in ag/4723479.
Add native tests for the new lookup logic here.
The matching is done by uniqueId if it is specified, and by type only if it is not.
Some additional refactors:
- Return std::optional from getDisplayViewport
- Make internal viewport optional. Expect normal operation if internal
viewport is not present at all.
Bug: 111108021
Test: atest -a inputflinger_tests
Change-Id: I7d7d698438d0d691f5f07fef2da80e792a504978
Diffstat (limited to 'libs/ui/BufferHubMetadata.cpp')
0 files changed, 0 insertions, 0 deletions