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

Commit db83c44f authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Automerger Merge Worker
Browse files

Merge "Bluetooth: log who changes adapter name" am: c6b20c07 am: c33180f4...

Merge "Bluetooth: log who changes adapter name" am: c6b20c07 am: c33180f4 am: 25f912b7 am: 65d675b7

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1428568

Change-Id: I39e2e2358e3c0fabe3a11a0d98c46f6457dc0780
parents 3076def6 65d675b7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -417,7 +417,8 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
            if (BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED.equals(action)) {
                String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME);
                if (DBG) {
                    Slog.d(TAG, "Bluetooth Adapter name changed to " + newName);
                    Slog.d(TAG, "Bluetooth Adapter name changed to " + newName + " by "
                            + mContext.getPackageName());
                }
                if (newName != null) {
                    storeNameAndAddress(newName, null);