Fixes related to typo in audio.h
Bug: 64038649
Test: Manual Testing and CTS tests.
Change-Id: Id2650638f789d85116d780d87b19debd2a13a737
diff --git a/include/media/MicrophoneInfo.h b/include/media/MicrophoneInfo.h
index b0199d4..2287aca 100644
--- a/include/media/MicrophoneInfo.h
+++ b/include/media/MicrophoneInfo.h
@@ -42,7 +42,7 @@
MicrophoneInfo(audio_microphone_characteristic_t& characteristic) {
mDeviceId = String16(&characteristic.device_id[0]);
mPortId = characteristic.id;
- mType = characteristic.type;
+ mType = characteristic.device;
mAddress = String16(&characteristic.address[0]);
mDeviceLocation = characteristic.location;
mDeviceGroup = characteristic.group;