commit | 791c48458e03a7f884abc19a398fb766d4480133 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Tue Jan 03 12:53:36 2017 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Tue Jan 03 12:53:36 2017 -0800 |
tree | 0ac7e3f8aab42fb423be5b285efcd700ff7f5ea5 | |
parent | 196bbe7a4b0640a62bd0595ce8b89b95817e8106 [diff] |
MediaPlayer: do not crash when there is no context Prevent NPE when the instance is running without a context. This enables writing command-line test apps. Test: vendor/google_toolbox/team/audio/cmds/ClMediaPlayer Change-Id: Ie74112334675c5d9d3efdb28c7178c49d8729acb