diff options
author | pramod kotreshappa <kpramod@codeaurora.org> | 2014-12-19 16:53:33 -0800 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2015-01-22 00:51:17 +0100 |
commit | c2519f460b58bb3099597ae506c7f84ebd8f4cfb (patch) | |
tree | 20f476c89fc5cdf327563253e3407b1ff0f752b0 | |
parent | f2ac617a88464a40d5a986e6eb04f4efe494f39d (diff) | |
download | android_packages_apps_Bluetooth-c2519f460b58bb3099597ae506c7f84ebd8f4cfb.tar.gz android_packages_apps_Bluetooth-c2519f460b58bb3099597ae506c7f84ebd8f4cfb.tar.bz2 android_packages_apps_Bluetooth-c2519f460b58bb3099597ae506c7f84ebd8f4cfb.zip |
Bluetooth: Send player settings changed notification
For remote initiated player settings change command like shuffle
and repeate on/off,few carkit expect EVENT_PLAYER_SETTINGS_CHANGED
response to updated its UI. Send event player settings changed
response along with ACCEPT.
Change-Id: Id72bf2be6c6454597b29be061b29b1920e3fb760
-rw-r--r-- | src/com/android/bluetooth/avrcp/Avrcp.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/bluetooth/avrcp/Avrcp.java b/src/com/android/bluetooth/avrcp/Avrcp.java index 3b7a4bfc6..e9fe70a43 100644 --- a/src/com/android/bluetooth/avrcp/Avrcp.java +++ b/src/com/android/bluetooth/avrcp/Avrcp.java @@ -449,7 +449,8 @@ public final class Avrcp { } else { SendSetPlayerAppRspNative(INTERNAL_ERROR); } - } else if (mPlayerStatusChangeNT == NOTIFICATION_TYPE_INTERIM) { + } + if (mPlayerStatusChangeNT == NOTIFICATION_TYPE_INTERIM) { Log.v(TAG,"Send Player appl attribute changed response"); mPlayerStatusChangeNT = NOTIFICATION_TYPE_CHANGED; sendPlayerAppChangedRsp(mPlayerStatusChangeNT); |