diff options
author | Siarhei Vishniakou <svv@google.com> | 2019-08-12 19:06:14 -0500 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2019-08-13 10:36:51 -0500 |
commit | 7ffc8e935d9d8365f022a533ae30ca60e93c4631 (patch) | |
tree | fc0c739c02156a2e729bfa58787f47e861f027ea /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f1a14f9a36e9c532c7d4f0fd4e550c89803de796 (diff) |
Use InputChannel::create
InputChannel no longer allows direct creation, because it may be
invalid, depending on the data provided. Force the users to check the
result of the creation by only allowing the use of static creators
::read and ::create.
Bug: none
Test: atest libinput_tests inputflinger_tests
Change-Id: Ieb746036798cf673ceb63cbc1d59a9be7e5cc05a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions