am dfddbb77: am 48912b93: am afb45246: make wfd work on manta
* commit 'dfddbb77b6da506dd821dea91ea1bf141a57322d':
make wfd work on manta
diff --git a/audio_policy.conf b/audio_policy.conf
index caa6ba1..73bf4ba 100644
--- a/audio_policy.conf
+++ b/audio_policy.conf
@@ -79,4 +79,22 @@
}
}
}
+ r_submix {
+ outputs {
+ submix {
+ sampling_rates 44100|48000
+ channel_masks AUDIO_CHANNEL_OUT_STEREO
+ formats AUDIO_FORMAT_PCM_16_BIT
+ devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
+ }
+ }
+ inputs {
+ submix {
+ sampling_rates 44100|48000
+ channel_masks AUDIO_CHANNEL_IN_STEREO
+ formats AUDIO_FORMAT_PCM_16_BIT
+ devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
+ }
+ }
+ }
}
diff --git a/device.mk b/device.mk
index df8b390..ba15cb0 100644
--- a/device.mk
+++ b/device.mk
@@ -149,7 +149,8 @@
audio.primary.manta \
audio.a2dp.default \
audio.usb.default \
- libbubblelevel
+ libbubblelevel \
+ audio.r_submix.default
PRODUCT_PACKAGES += \
power.manta
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 71ac9b8..80be669 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -179,4 +179,5 @@
true forces it to use the/dev/input/event subsystem. -->
<bool name="config_useDevInputEventForAudioJack">true</bool>
+ <bool name="config_enableWifiDisplay">true</bool>
</resources>