commit | ef7740be67a4d7b6b033ebed59c3d4a9c74a2c18 | [log] [tgz] |
---|---|---|
author | John Grossman <johngro@google.com> | Thu Feb 09 11:28:36 2012 -0800 |
committer | John Grossman <johngro@google.com> | Thu Feb 16 13:45:12 2012 -0800 |
tree | 896b721ec2200ffe089800c7b367b92e88a59f2d | |
parent | af7d8189f91c45ab919a6c9ac386b268c8d91168 [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>