Skip to content
Commit 791c4845 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

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
parent 196bbe7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment