diff options
author | Andreas Huber <andih@google.com> | 2013-02-05 13:16:39 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2013-02-05 13:17:17 -0800 |
commit | 27243b75722c077699a593cb64947f1d763a177f (patch) | |
tree | 45f2fba07da11e72ed27d1ef9d34bcc1ea6438f5 /media/libmediaplayerservice | |
parent | ec29a2bfb5364a5968b77559fd13821b827d173a (diff) | |
download | frameworks_av-27243b75722c077699a593cb64947f1d763a177f.zip frameworks_av-27243b75722c077699a593cb64947f1d763a177f.tar.gz frameworks_av-27243b75722c077699a593cb64947f1d763a177f.tar.bz2 |
Fix a typo in MediaPlayerFactory that would prevent us from
opting in to nuplayer for general media playback.
Change-Id: I050f5178aadbb0b8bf422861ef885745c0b9006a
Diffstat (limited to 'media/libmediaplayerservice')
-rw-r--r-- | media/libmediaplayerservice/MediaPlayerFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerFactory.cpp b/media/libmediaplayerservice/MediaPlayerFactory.cpp index bb441cc..1fb8b1a 100644 --- a/media/libmediaplayerservice/MediaPlayerFactory.cpp +++ b/media/libmediaplayerservice/MediaPlayerFactory.cpp @@ -100,7 +100,7 @@ void MediaPlayerFactory::unregisterFactory(player_type type) { } \ \ if (0.0 == bestScore) { \ - bestScore = getDefaultPlayerType(); \ + ret = getDefaultPlayerType(); \ } \ \ return ret; |