diff options
author | Sungsoo Lim <sungsoo@google.com> | 2020-12-16 14:29:20 +0900 |
---|---|---|
committer | Sungsoo Lim <sungsoo@google.com> | 2020-12-16 19:07:56 +0900 |
commit | bf01d9b7a3cd3b7ebc40c0264667c77e7ecd4330 (patch) | |
tree | dd8c278fe58b264179f4cd0a841f1d9422799856 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ade199be34ee3637d5a4f9bc7321eec952d188c9 (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
Change-Id: I2560eda6436a89c754224cc835e48fe4f5e36827
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions