commit | f44443c24273aa3f73260314fca28f24addf8a27 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon Aug 05 09:24:30 2019 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Aug 05 10:40:48 2019 -0700 |
tree | 9e1685c810e33b358902293a2ce1e6a130eb9804 | |
parent | 02522c2511f0104f78ecb62f0789073447434005 [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