Skip to content
Commit 35d7cd47 authored by Gyumin Sim's avatar Gyumin Sim
Browse files

Avoid blocking outgoing binder call for setQueue

There has been a blocking binder call out of system_server for
MediaSession#setQueue because ParceledListSlice internally creates
another binder on the caller side and calls the binder from callee
if the list is too large to fit in a single IPC transaction.

It introduces ParcelableListBinder to do multiple transactions in the
same direction, so that the binder call doesn't block system_server.

Bug: 147703076
Test: atest CtsMediaTestCases:android.media.cts.MediaSessionTest
Change-Id: I5623c20d615d25c88999d80615958d6cb6e51a77
parent 2503bf24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment