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

Commit 3d960984 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

am: df06befd

Change-Id: I1e4719cd78ee7a68b7fb243fecad4d96a25c1e2d
parents 27dd3fb1 df06befd
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;