[Chromecast] Encapsulate request/abandonAudioFocus.
This allows all users of CastAudioManager to use request/abandonAudioFocus() without a @SuppressWarnings annotation. This paves the way for encapsulating SDK-dependent implementation details for AudioManager in CastAudioManager, reducing the number of SDK version checks that need to be performed throughout the codebase. Bug: Internal b/70158727 Test: build cast_shell_java Run internal junit tests Merge-With: eureka-internal/127089 Change-Id: Iacd88d1d2e298ddd3b9ae6eb2749f0a43b5ede77 Reviewed-on: https://chromium-review.googlesource.com/806929 Commit-Queue: Simeon Anfinrud <sanfin@chromium.org> Reviewed-by:Luke Halliwell <halliwell@chromium.org> Cr-Commit-Position: refs/heads/master@{#521547}
Showing
Please register or sign in to comment