Use same fallback bt name in Settings and notification.
Bug: 30126659 Change-Id: Id1432b459a4368bae9af6067307c4da0008f94aa
This commit is contained in:
@@ -135,7 +135,7 @@ public final class BluetoothPermissionRequest extends BroadcastReceiver {
|
||||
deleteIntent.putExtra(BluetoothDevice.EXTRA_CONNECTION_ACCESS_RESULT,
|
||||
BluetoothDevice.CONNECTION_ACCESS_NO);
|
||||
deleteIntent.putExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, mRequestType);
|
||||
String deviceAlias = mDevice != null ? mDevice.getAliasName() : null;
|
||||
String deviceAlias = Utils.createRemoteName(context, mDevice);
|
||||
switch (mRequestType) {
|
||||
case BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS:
|
||||
title = context.getString(R.string.bluetooth_phonebook_request);
|
||||
|
Reference in New Issue
Block a user