commit | d258827386fcd80bdb67a8e1bd30d52b8ad6c350 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Fri Jul 10 11:15:40 2020 -0500 |
committer | Siarhei Vishniakou <svv@google.com> | Mon Jul 20 14:46:20 2020 -0500 |
tree | 75bcbd03caf60f2292a1918fc52dce9bac616283 | |
parent | ce5ab0807a71ce53793dd2f8721f5258943b7f0a [diff] |
Use unique_ptr when creating InputChannel InputChannel api will return unique_ptr, and it is up to the caller to decide how to use that. In most cases, the caller will proceed with making is a shared_ptr. Bug: 142581626 Test: atest libinput_tests inputflinger_tests Change-Id: Ice473a4c85241c63e3f4d6cdd30f8258ed7485e7