summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Peng Xu <pengxu@google.com> 2017-01-23 20:06:27 -0800
committer Peng Xu <pengxu@google.com> 2017-01-23 20:06:27 -0800
commit5363254ba38b50da95e5bdb15391c139c182627c (patch)
tree6a2ab422bc7f158f23c92558605d5675970d202e /libs/gui/SurfaceControl.cpp
parent2d7a12616717f9b7bde05f72d2d9d31e2cef2850 (diff)
Add function to determine if SensorDevice support direct report
Added a function to SensorDevice to indicate if direct report is supported. This avoided a crash condition in non-HIDL implementation. Test: test with demo app on a HAL w/ and w/o direct report support Change-Id: If68497bb8890b9e6003c2afeec38d16daf81f237
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions