summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Fan Xu <fanxu@google.com> 2018-10-22 14:02:39 -0700
committer Fan Xu <fanxu@google.com> 2018-10-22 14:02:39 -0700
commitd2f81ce28e8ff331bcb12259649d7bb1af0f63e8 (patch)
tree0a4d5f633d5136a7ba63b943633a0597f05db950 /libs/input/KeyLayoutMap.cpp
parent7e86280fb054e731b2f878d680e75fedb6f5f44f (diff)
Use sp<> on creating BufferHubBinderService
The original code implicitly calls the constructor of sp<> in addService() function call, which is not good for readability. Replace it with sp<> could improve readability and avoid possible memory leak if the implementation detail of sp<> changes. Test: atest buffer_hub_binder_service-test (passed) Bug: 115429751 Change-Id: Ice304a638b8d353a3b229e48c17ecd6f32a66f37
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions