mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
This is required after switching to the OnePlus Dolby Atmos stack Based on:09e0c6ad23346519f7f2Change-Id: I2ac8f83899a0866975aa6cbce26da9670b16843d Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com> Co-authored-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
16 lines
367 B
Bash
16 lines
367 B
Bash
#!/vendor/bin/sh
|
|
#
|
|
# Copyright (C) 2022 Paranoid Android
|
|
# Copyright (C) 2025 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
fix_applied=$(getprop persist.vendor.audio.dolby_fix_applied)
|
|
|
|
if [ "$fix_applied" != "true" ]; then
|
|
# Remove /data/vendor/dolby
|
|
rm -rf /data/vendor/dolby/*
|
|
setprop persist.vendor.audio.dolby_fix_applied true
|
|
fi
|