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

Commit 3775f969 authored by timhypeng's avatar timhypeng Committed by hughchen
Browse files

Rename onProfileAudioStateChanged() to onAudioModeChanged()

Bug: 74134939
Test: Build
Change-Id: I85895238b6ee16fec85d0cf3dd0242c9ba17a3bd
parent a62df616
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ public abstract class BluetoothDeviceUpdater implements BluetoothCallback {
    }

    @Override
    public void onProfileAudioStateChanged(int bluetoothProfile, int state) {
    public void onAudioModeChanged() {
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ public final class BluetoothSummaryUpdater extends SummaryUpdater implements Blu
    }

    @Override
    public void onProfileAudioStateChanged(int bluetoothProfile, int state) {
    public void onAudioModeChanged() {
    }

    @Override
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ public abstract class DeviceListPreferenceFragment extends
    public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { }

    @Override
    public void onProfileAudioStateChanged(int bluetoothProfile, int state) { }
    public void onAudioModeChanged() { }

    /**
     * Return the key of the {@link PreferenceGroup} that contains the bluetooth devices