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

Commit cde191e3 authored by Alex Shabalin's avatar Alex Shabalin Committed by Alexandr Shabalin
Browse files

Change type of mMutingExpectedDevice from Boolean to boolean.

Bug: 414668703
Flag: com.android.media.flags.avoid_binder_calls_for_muting_expected_device
Test: atest BluetoothMediaDeviceTest
Change-Id: I67aaed8f99ac9ffbdae132e537182e215f508421
parent 1287256f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ public class BluetoothMediaDevice extends MediaDevice {

    private final CachedBluetoothDevice mCachedDevice;
    private final AudioManager mAudioManager;
    private final Boolean mIsMutingExpectedDevice;
    private final boolean mIsMutingExpectedDevice;

    BluetoothMediaDevice(
            @NonNull Context context,
@@ -61,7 +61,7 @@ public class BluetoothMediaDevice extends MediaDevice {
            @Nullable MediaRoute2Info info,
            @Nullable DynamicRouteAttributes dynamicRouteAttributes,
            @Nullable RouteListingPreference.Item item,
            Boolean isMutingExpectedDevice) {
            boolean isMutingExpectedDevice) {
        super(context, info, dynamicRouteAttributes, item);
        mCachedDevice = device;
        mIsMutingExpectedDevice = isMutingExpectedDevice;