init_gsi: Disable A2DP offload on qcom
This commit is contained in:
parent
fededa5f79
commit
ceedb72c33
|
@ -1,5 +1,7 @@
|
|||
#include "../../quirks.h"
|
||||
|
||||
#include <android-base/properties.h>
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
using namespace std;
|
||||
|
@ -15,6 +17,10 @@ public:
|
|||
if (filesystem::exists("/vendor/etc/a2dp_audio_policy_configuration.xml")) {
|
||||
Quirks::OverrideFileReplaceSubstr("/vendor/etc/a2dp_audio_policy_configuration.xml", "bluetooth_qti", "a2dp");
|
||||
}
|
||||
|
||||
// Disable A2DP offload on qcom
|
||||
android::base::SetProperty("persist.bluetooth.a2dp_offload.disabled", "true");
|
||||
android::base::SetProperty("persist.bluetooth.bluetooth_audio_hal.disabled", "true");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue