[Chromecast] Cache Android volume tables in native code
This implements a caching logic to store the Android volume tables in native code. This avoids constant JNI calls that can slow things down too much leading to problems (see bug for more details). Bug: [internal] b/71871956 Test: Running on a several AThings Cast-enabled speakers, as well as unit-test. Change-Id: I5c769d0d98e3d4b00f01d74a0b0ded984993431e Reviewed-on: https://chromium-review.googlesource.com/1134589Reviewed-by:Luke Halliwell <halliwell@chromium.org> Reviewed-by:
Kenneth MacKay <kmackay@chromium.org> Commit-Queue: Chris Kuiper <ckuiper@chromium.org> Cr-Commit-Position: refs/heads/master@{#577193}
Showing
Please register or sign in to comment