summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2016-03-10 12:43:36 -0800
committerGlenn Kasten <gkasten@google.com>2016-03-23 12:00:41 -0700
commitb4c15199a9fa3c4f4fbe5908a92f7978f9e03f4a (patch)
treee59469388dde7c537babd9fe3afba0d479daaa41
parentb616889ca6aa4b567d2a3e44a66d1b0e9642e644 (diff)
downloadplatform_hardware_libhardware_legacy-b4c15199a9fa3c4f4fbe5908a92f7978f9e03f4a.tar.gz
platform_hardware_libhardware_legacy-b4c15199a9fa3c4f4fbe5908a92f7978f9e03f4a.tar.bz2
platform_hardware_libhardware_legacy-b4c15199a9fa3c4f4fbe5908a92f7978f9e03f4a.zip
Use audio_module_handle_t and audio_patch_handle_t consistently
Bug: 27814144 Change-Id: I54b7a73ec318779fd3addb060998f4d94141152d
-rw-r--r--audio/AudioPolicyManagerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/AudioPolicyManagerBase.cpp b/audio/AudioPolicyManagerBase.cpp
index 970c33e..74ee22a 100644
--- a/audio/AudioPolicyManagerBase.cpp
+++ b/audio/AudioPolicyManagerBase.cpp
@@ -3737,7 +3737,7 @@ status_t AudioPolicyManagerBase::EffectDescriptor::dump(int fd)
// --- IOProfile class implementation
AudioPolicyManagerBase::HwModule::HwModule(const char *name)
- : mName(strndup(name, AUDIO_HARDWARE_MODULE_ID_MAX_LEN)), mHandle(0)
+ : mName(strndup(name, AUDIO_HARDWARE_MODULE_ID_MAX_LEN)), mHandle(AUDIO_MODULE_HANDLE_NONE)
{
}