aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2021-04-26 20:39:23 +0800
committerdianlujitao <dianlujitao@lineageos.org>2021-04-26 21:04:23 +0800
commit0fd18be554c47b010c140627b7e3534ead2cf2f2 (patch)
tree6f47037fb054160959ef21085e84accde0f06002
parentcb5bc8e7984b60ce6bd6313cecf39816d021731c (diff)
Revert "sdm660-common: Switch to Audio HAL V6"
All devices use pre-R audio.bluetooth_qti.default.so and platina uses pre-R audio hal, in which the new set_event_callback API is not implemented and the audio service will crash due to mismatched struct. This reverts commit 939fd6b3019828b56469d7b75f237bf176bfe57f. Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c
-rw-r--r--configs/manifests/manifest.xml4
-rw-r--r--sdm660.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/manifests/manifest.xml b/configs/manifests/manifest.xml
index b01ad31..46105be 100644
--- a/configs/manifests/manifest.xml
+++ b/configs/manifests/manifest.xml
@@ -29,7 +29,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
- <version>6.0</version>
+ <version>5.0</version>
<interface>
<name>IDevicesFactory</name>
<instance>default</instance>
@@ -38,7 +38,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<hal format="hidl">
<name>android.hardware.audio.effect</name>
<transport>hwbinder</transport>
- <version>6.0</version>
+ <version>5.0</version>
<interface>
<name>IEffectsFactory</name>
<instance>default</instance>
diff --git a/sdm660.mk b/sdm660.mk
index be347bd..82d8152 100644
--- a/sdm660.mk
+++ b/sdm660.mk
@@ -81,8 +81,8 @@ PRODUCT_COPY_FILES += \
# Audio
PRODUCT_PACKAGES += \
- android.hardware.audio@6.0-impl:32 \
- android.hardware.audio.effect@6.0-impl:32 \
+ android.hardware.audio@5.0-impl:32 \
+ android.hardware.audio.effect@5.0-impl:32 \
android.hardware.audio.service \
android.hardware.soundtrigger@2.1-impl:32 \
audio.a2dp.default \