Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 706de969 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "audio policy: fix loss of audio patch client UID"

parents 16558ea3 bacd9d7a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4593,7 +4593,6 @@ uint32_t AudioPolicyManager::setOutputDevice(const sp<AudioOutputDescriptor>& ou
                    patchDesc->mPatch = patch;
                }
                patchDesc->mAfPatchHandle = afPatchHandle;
                patchDesc->mUid = mUidCached;
                if (patchHandle) {
                    *patchHandle = patchDesc->mHandle;
                }
@@ -4698,7 +4697,6 @@ status_t AudioPolicyManager::setInputDevice(audio_io_handle_t input,
                    patchDesc->mPatch = patch;
                }
                patchDesc->mAfPatchHandle = afPatchHandle;
                patchDesc->mUid = mUidCached;
                if (patchHandle) {
                    *patchHandle = patchDesc->mHandle;
                }