OSDN Git Service
(root)
/
android-x86
/
packages-apps-Bluetooth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f362df
)
fix the compilation error in broadcom partner branch
author
Zhihai Xu
<zhihaixu@google.com>
Sat, 30 Mar 2013 02:38:46 +0000
(19:38 -0700)
committer
Zhihai Xu
<zhihaixu@google.com>
Sat, 30 Mar 2013 02:38:46 +0000
(19:38 -0700)
Change-Id: I563742d29570095060c874b1b992cd1c3859dc58
src/com/android/bluetooth/a2dp/Avrcp.java
patch
|
blob
|
history
diff --git
a/src/com/android/bluetooth/a2dp/Avrcp.java
b/src/com/android/bluetooth/a2dp/Avrcp.java
index
0f1e950
..
c434113
100755
(executable)
--- a/
src/com/android/bluetooth/a2dp/Avrcp.java
+++ b/
src/com/android/bluetooth/a2dp/Avrcp.java
@@
-139,6
+139,13
@@
final class Avrcp {
}
}
+ public void setPlaybackState(int generationId, int state, long stateChangeTimeMs) {
+ Handler handler = mLocalHandler.get();
+ if (handler != null) {
+ handler.obtainMessage(MSG_UPDATE_STATE, generationId, state).sendToTarget();
+ }
+ }
+
@Override
public void setMetadata(int generationId, Bundle metadata) {
Handler handler = mLocalHandler.get();