diff options
| author | 2012-02-09 11:28:36 -0800 | |
|---|---|---|
| committer | 2012-02-16 13:45:12 -0800 | |
| commit | 4fbe95ede28e9de22404fc38645667fd3a401b14 (patch) | |
| tree | e5923cca28af9d85db88ca875ea10981dd94c7b6 /libs/androidfw/KeyLayoutMap.cpp | |
| parent | 3540a0197f56c4bcd7d7419f4502bfca34257de2 (diff) | |
Fix a segfault in AudioFlinger.
Check the string returned by a HAL's implementation of get_parameters
for NULL before attempting to make use of it.  That way, we won't
bring down the mediaserver because of a poorly written HAL.
Change-Id: Ic99d7b004520d7d6347842a681c0595e889b68ea
Signed-off-by: John Grossman <johngro@google.com>
Diffstat (limited to 'libs/androidfw/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions