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
1 file changed