rosemary: libshim_vtservice: Update to S

[1] LineageOS/android_frameworks_av@bda4575#diff-0e7ff81a94e7f5ce90bdb128b6ceea84c201a721055b05afccfa2ec814036907
[2] LineageOS/android_frameworks_av@3376113#diff-0e7ff81a94e7f5ce90bdb128b6ceea84c201a721055b05afccfa2ec814036907
This commit is contained in:
SamarV-121
2022-09-18 12:03:05 +01:00
committed by Matsvei Niaverau
parent 577563da43
commit 313ab44fc7

View File

@@ -3,7 +3,6 @@
using namespace android;
extern "C" {
// Old constructor without opPackageName
void _ZN7android10AudioTrackC1E19audio_stream_type_tj14audio_format_tjj20audio_output_flags_tPFviPvS4_ES4_i15audio_session_tNS0_13transfer_typeEPK20audio_offload_info_tjiPK18audio_attributes_tbfi(
audio_stream_type_t streamType,
uint32_t sampleRate,
@@ -23,10 +22,9 @@ void _ZN7android10AudioTrackC1E19audio_stream_type_tj14audio_format_tjj20audio_o
bool doNotReconnect,
float maxRequiredSpeed,
audio_port_handle_t selectedDeviceId) {
const std::string& opPackageName = "com.mediatek.ims";
const AttributionSourceState& attributionSource = AttributionSourceState();
new android::AudioTrack(streamType, sampleRate, format, channelMask, frameCount, flags, cbf,
user, notificationFrames, sessionId, transferType, offloadInfo, uid,
pid, pAttributes, doNotReconnect, maxRequiredSpeed, selectedDeviceId,
opPackageName);
user, notificationFrames, sessionId, transferType, offloadInfo, attributionSource,
pAttributes, doNotReconnect, maxRequiredSpeed, selectedDeviceId);
}
}