Merge "Bluetooth: log who changes adapter name"
This commit is contained in:
@@ -412,7 +412,8 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
|
|||||||
if (BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED.equals(action)) {
|
if (BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED.equals(action)) {
|
||||||
String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME);
|
String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME);
|
||||||
if (DBG) {
|
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) {
|
if (newName != null) {
|
||||||
storeNameAndAddress(newName, null);
|
storeNameAndAddress(newName, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user