commit | 3ecc7eeaa182c0cc0314842e6f3aee83260d9a73 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon Aug 05 09:24:30 2019 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Tue Sep 10 12:56:02 2019 -0700 |
tree | 03fde9ef1d41b0f5f0e83d91445e81373889f910 | |
parent | b5cc2bfea07f8f7d8db3d9a0cf7336a6130bdbec [diff] |
FocusRequester: refactor handleFocusLoss Break out the checks to see if a focus loss is handled by the framework in a separate method, and reorder the if statements for code clarity. Annotate PlayerFocusEnforcer methods for nullability, add javadoc Test: atest AudioFocusTest Change-Id: I9aaab804c78a2e2627ddbd7b9bd41fdec47d2b57 Merged-In: I9aaab804c78a2e2627ddbd7b9bd41fdec47d2b57