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

Commit df06befd authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by android-build-merger
Browse files

Merge "Printed the modified AVRCP features in case a device is blacklisted"

am: f1308e4c

Change-Id: Ie27f43935b08d1de20026ed58c91b98b0221e3fa
parents 407f6bd4 f1308e4c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -420,10 +420,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;