summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2019-10-14 14:50:45 -0700
committer Siarhei Vishniakou <svv@google.com> 2019-11-01 15:54:35 -0700
commitd0d71b6e50a7775570905590c93220543c66c943 (patch)
treefdeec920014d09c4693e775b07edde1bca1e63fd /libs/gui/SurfaceControl.cpp
parent5dc0874bc2719f0fcc570f365d67969bdc4ee1cb (diff)
Look up Connection by token
Currently, we are passing in the entire input channel in order to find the corresponding connection. But if an input channel is uniquely identified by the token, we should only have to pass in the token. In some cases, we are even doing the circular lookup: find input channel by token, then use inputchannel->token to find the corresponding connection. We should be able to unregisterInputChannel by token instead of by inputchannel. Bug: 142581626 Test: basic interaction with the device Change-Id: Ie438c5136186f9dd14df6df08aaabeb35a336f05
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions