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 | 198a893671ce80d951625fe328a92073306660d0 (patch) | |
tree | 065bd27a0fd5617eb638f379fb9f30bf6620f460 /media/libmediaplayerservice | |
parent | 84ca0414fedea2dfe51607b422f6227e1c4f0d7f (diff) | |
download | frameworks_av-198a893671ce80d951625fe328a92073306660d0.zip frameworks_av-198a893671ce80d951625fe328a92073306660d0.tar.gz frameworks_av-198a893671ce80d951625fe328a92073306660d0.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; |