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

Unverified Commit 43581193 authored by Justin DeMartino's avatar Justin DeMartino Committed by Michael Bestas
Browse files

Implement abstract method getPreferenceKey in SavedBluetoothTwsDeviceUpdater

Bug:147819852
Change-Id: Ifb11cc864d52c36704346debf89523cdcf5ce536
parent 3e871487
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -63,6 +63,8 @@ import com.android.settingslib.bluetooth.LocalBluetoothManager;
 */
public class SavedBluetoothTwsDeviceUpdater extends BluetoothDeviceUpdater {

    private static final String PREF_KEY = "saved_bt_tws";

    public SavedBluetoothTwsDeviceUpdater(Context context, DashboardFragment fragment,
            DevicePreferenceCallback devicePreferenceCallback) {
        super(context, fragment, devicePreferenceCallback);
@@ -80,4 +82,9 @@ public class SavedBluetoothTwsDeviceUpdater extends BluetoothDeviceUpdater {
        return device.getBondState() == BluetoothDevice.BOND_BONDED &&
            !device.isConnected() && device.isTwsPlusDevice();
    }

    @Override
    protected String getPreferenceKey() {
        return PREF_KEY;
    }
}