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

Commit 9773ebb7 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Matthew Xie
Browse files

Dock: Temporary removal of function to get BT address

Change-Id: I0d1033654e2708f864649f2b2568be7c9da014ed
parent 313a2167
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ import android.os.Message;
import android.os.SystemClock;
import android.os.UEventObserver;
import android.provider.Settings;
import android.server.BluetoothService;
import android.util.Log;
import android.util.Slog;

@@ -150,7 +149,8 @@ class DockObserver extends UEventObserver {
                        intent.putExtra(Intent.EXTRA_DOCK_STATE, mDockState);

                        // Check if this is Bluetooth Dock
                        String address = BluetoothService.readDockBluetoothAddress();
                        // TODO(BT): Get Dock address.
                        String address = null;
                        if (address != null)
                            intent.putExtra(BluetoothDevice.EXTRA_DEVICE,
                                    BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address));