diff options
author | Sungsoo Lim <sungsoo@google.com> | 2020-12-24 01:36:18 +0000 |
---|---|---|
committer | Sungsoo Lim <sungsoo@google.com> | 2021-01-11 10:04:08 +0900 |
commit | 96d134d75aa32f2345c478398de3d61dd90abacf (patch) | |
tree | 793a1cb08f82eeb86a6f489c6a8371f4da19b06e /opengl/java | |
parent | 928789a180ccac53d933b2aa5bb3246212095737 (diff) |
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
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions