Skip to content
Commit 96d134d7 authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Cache stream volumes to prevent ANR

MediaRourter uses main thread for internal operations, and ANR could
happens if AudioService is not running when MediaRouter tried to get
stream volumes. This CL avoids such ANR by caching stream volumes.

Bug: 170327593
Test: manually
(cherry picked from internal master branch)

Change-Id: I7c00b26a3a25f17c877d3ec0e998905ab0b4af28
parent 928789a1
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