OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1cab98
)
MediaPlayer2: fix out-of-order pause for skipToNext
author
Wei Jia
<wjia@google.com>
Wed, 10 Apr 2019 17:49:10 +0000
(10:49 -0700)
committer
Wei Jia
<wjia@google.com>
Wed, 10 Apr 2019 18:04:09 +0000
(11:04 -0700)
Test: cts
Bug:
130292355
Change-Id: I46765403e6bb12feb44f6d2541dc867fef23722a
media/apex/java/android/media/MediaPlayer2.java
patch
|
blob
|
history
diff --git
a/media/apex/java/android/media/MediaPlayer2.java
b/media/apex/java/android/media/MediaPlayer2.java
index
db33e82
..
72c18f6
100644
(file)
--- a/
media/apex/java/android/media/MediaPlayer2.java
+++ b/
media/apex/java/android/media/MediaPlayer2.java
@@
-546,7
+546,7
@@
public class MediaPlayer2 implements AutoCloseable, AudioRouting {
@Override
void process() {
if (getState() == PLAYER_STATE_PLAYING) {
- pause();
+
native_
pause();
}
playNextDataSource();
}