Skip to content
Commit 290a6244 authored by Robert Snoeberger's avatar Robert Snoeberger
Browse files

Move call to MediaRouter2Manager to worker thread

The call to MediaRouter2Manager#getRoutingSessionForMediaController was
implicated in an ANR. So, moving the call to a background thread to
prevent it from being caught blocking the main thread.

Fixes: 161690149
Test: atest tests/src/com/android/systemui/media/MediaDeviceManagerTest.kt
Change-Id: Icf3945a971be84397a335672134b1067decfe6da
parent f57fbbbe
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