Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b4cc19b5 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov
Browse files

Printed the modified AVRCP features in case a device is blacklisted

Bug: 63480852
Test: Manual
Change-Id: I6c53d014bd8eaf3789df824b21fd827e66f10389
(cherry picked from commit 414480de643b551c1d2dd7db971cc24cff29a605)
parent e9ab672a
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -413,10 +413,13 @@ public final class Avrcp {
            case MSG_NATIVE_REQ_GET_RC_FEATURES:
            {
                String address = (String) msg.obj;
                if (DEBUG) Log.v(TAG, "MSG_NATIVE_REQ_GET_RC_FEATURES: address="+address+
                        ", features="+msg.arg1);
                mFeatures = msg.arg1;
                mFeatures = modifyRcFeatureFromBlacklist(mFeatures, address);
                if (DEBUG) {
                    Log.v(TAG,
                            "MSG_NATIVE_REQ_GET_RC_FEATURES: address=" + address
                                    + ", features=" + msg.arg1 + ", mFeatures=" + mFeatures);
                }
                mAudioManager.avrcpSupportsAbsoluteVolume(address, isAbsoluteVolumeSupported());
                mLastLocalVolume = -1;
                mRemoteVolume = -1;