From 3775f969bacee5013eb13004f932f64f7f38324d Mon Sep 17 00:00:00 2001 From: timhypeng Date: Sun, 8 Apr 2018 13:53:46 +0800 Subject: [PATCH] Rename onProfileAudioStateChanged() to onAudioModeChanged() Bug: 74134939 Test: Build Change-Id: I85895238b6ee16fec85d0cf3dd0242c9ba17a3bd --- src/com/android/settings/bluetooth/BluetoothDeviceUpdater.java | 2 +- src/com/android/settings/bluetooth/BluetoothSummaryUpdater.java | 2 +- .../settings/bluetooth/DeviceListPreferenceFragment.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/android/settings/bluetooth/BluetoothDeviceUpdater.java b/src/com/android/settings/bluetooth/BluetoothDeviceUpdater.java index e322bb4d86b..67cf2994acc 100644 --- a/src/com/android/settings/bluetooth/BluetoothDeviceUpdater.java +++ b/src/com/android/settings/bluetooth/BluetoothDeviceUpdater.java @@ -167,7 +167,7 @@ public abstract class BluetoothDeviceUpdater implements BluetoothCallback { } @Override - public void onProfileAudioStateChanged(int bluetoothProfile, int state) { + public void onAudioModeChanged() { } /** diff --git a/src/com/android/settings/bluetooth/BluetoothSummaryUpdater.java b/src/com/android/settings/bluetooth/BluetoothSummaryUpdater.java index 380bf699a1e..5724ab427bb 100644 --- a/src/com/android/settings/bluetooth/BluetoothSummaryUpdater.java +++ b/src/com/android/settings/bluetooth/BluetoothSummaryUpdater.java @@ -81,7 +81,7 @@ public final class BluetoothSummaryUpdater extends SummaryUpdater implements Blu } @Override - public void onProfileAudioStateChanged(int bluetoothProfile, int state) { + public void onAudioModeChanged() { } @Override diff --git a/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java b/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java index 0a7dc7cbf1b..904d737a324 100644 --- a/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java +++ b/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java @@ -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