commit | 36728ce14f97a76defe90a05968db0bd2833c878 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon May 01 12:33:40 2017 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon May 01 12:33:40 2017 -0700 |
tree | f92e877fa547d53f8cc619b36290e994d757be86 | |
parent | f12a157531b8eca91fdc40b4ccd03737346d2037 [diff] |
Audio focus: fix mapping of old requestAudioFocus to AudioFocusRequest When translating a focus request from the N- API to AudioFocusRequest, do not do null checks for listener or handler, those are only for the AudioFocusRequest.Builder. Test: use app built for N- and request focus, no crash Bug 37855238 Change-Id: I675b3144e913ab674fe27f9f65ee7a7bea24a72c