diff options
| author | 2018-10-29 13:07:53 -0700 | |
|---|---|---|
| committer | 2018-10-29 15:20:59 -0700 | |
| commit | 2cc68fbf8df8f69b6c775a50b8204d77f39484f8 (patch) | |
| tree | 0411d8f009a6d1fc51c8fc1cdc152f936b416b73 /libs/input/KeyLayoutMap.cpp | |
| parent | 5e7ae376868f09dad70f8c3dfb87404d6d5d46cd (diff) | |
Fix bufferhubd crash in buffer_hub-test
Add some null and valid check in constructors to prevent bufferhubd from
crash when user enter invalid params.
Test: "atest frameworks/native/libs/vr/libbufferhub/buffer_hub-test.cpp#TestCreateBufferHubBufferFails"
and check "adb logcat | grep bufferhub"
No crashing reports.
atest buffer_hub-test: passed
Fix: 118624156
Change-Id: I56e83808f38ab146f1fc61d1b736dd0be640503d
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions