diff options
| author | Kevin Rocard <krocard@google.com> | 2018-08-10 09:59:55 -0700 |
|---|---|---|
| committer | Kevin Rocard <krocard@google.com> | 2018-08-15 18:06:00 +0000 |
| commit | 86910f0fc57bad8c621dff70c267e97a11046200 (patch) | |
| tree | 2a765d4183caa11d8c52ded13df4895653f4c80c /identity/support/src/cppbor_parse.cpp | |
| parent | 51cdd13351c1b1b4bf0a1c4f027101a728b6d762 (diff) | |
Audio default HAL: hidl_memory size must be positive
hidl_memory size is not used on the framework side but is checked by the
hidl framework to be a sensible value.
Due to a hack in O and P, the value can be negative, this leads to
errors in HIDL.
This patch make sure the hidl_memory size is always positive and thus
not affected by the hack.
Test: adb shell data/nativetest64/write_sine/write_sine -pl -m3 -x
Bug: 38118159
Change-Id: Ie53c46c558e8042d74ee32b55219195da82e4bcc
Signed-off-by: Kevin Rocard <krocard@google.com>
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions
