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

Commit 5d5b679a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AudioSystem: fix missing audio port callbacks after audioserver restart" into main

parents 917b6ba9 30adca5d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -985,6 +985,8 @@ public:
        // TODO(b/375280520) consider registerClient() within mMutex lock.
        const int64_t token = IPCThreadState::self()->clearCallingIdentity();
        aps->registerClient(client);
        aps->setAudioPortCallbacksEnabled(client->isAudioPortCbEnabled());
        aps->setAudioVolumeGroupCallbacksEnabled(client->isAudioVolumeGroupCbEnabled());
        IPCThreadState::self()->restoreCallingIdentity(token);
    }