diff options
author | Rakesh Iyer <rni@google.com> | 2015-03-13 15:40:29 -0700 |
---|---|---|
committer | Rakesh Iyer <rni@google.com> | 2015-03-13 15:44:32 -0700 |
commit | 6fa7083f26895ede2331eeb3897f9ae659aae9bf (patch) | |
tree | 1e14c9ddd3392e935a631525b032b11dad1b31a2 | |
parent | 88b456640085fa0e92d66e42ddaf24449c8c4fdb (diff) | |
download | frameworks_av-6fa7083f26895ede2331eeb3897f9ae659aae9bf.zip frameworks_av-6fa7083f26895ede2331eeb3897f9ae659aae9bf.tar.gz frameworks_av-6fa7083f26895ede2331eeb3897f9ae659aae9bf.tar.bz2 |
Remove mId from DeviceDescriptor.
DeviceDescriptor inherits from AudioPort which has the correct
handle mId. The mId in DeviceDescriptor shadows this so calls
like DeviceVector::getDeviceFromId() findDeviceById fail because
they are looking at the wrong mId. The failure itself manifested
as createAudioPatch failing.
Change-Id: I8dd012d0678facaac84844b92226cc4b788abece
-rw-r--r-- | services/audiopolicy/managerdefault/Devices.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/audiopolicy/managerdefault/Devices.h b/services/audiopolicy/managerdefault/Devices.h index 65e1416..af2fbda 100644 --- a/services/audiopolicy/managerdefault/Devices.h +++ b/services/audiopolicy/managerdefault/Devices.h @@ -41,7 +41,6 @@ public: audio_devices_t mDeviceType; String8 mAddress; - audio_port_handle_t mId; static String8 emptyNameStr; }; |