diff options
author | Robert Snoeberger <snoeberger@google.com> | 2020-07-20 16:55:59 -0400 |
---|---|---|
committer | Robert Snoeberger <snoeberger@google.com> | 2020-09-16 13:41:39 +0000 |
commit | 0db7d12a5ecd2cf76316527162bdf3757e5f476a (patch) | |
tree | a5716bf922e7650f2140f98957db754c1369c4c1 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 6c6907db9d11129769dc6fbd8b94d806a6a58a20 (diff) |
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
(cherry picked from commit 290a624441e9c37c7638939a64ebcd1ab5a0edbe)
Merged-In: Icf3945a971be84397a335672134b1067decfe6da
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions