Connect button click handler for bluetooth forget dialog.
Bug: 31761184 Test: manual Change-Id: I48aac6899cb9a49bf988d3b9e6480dfd6fe0c1c2
This commit is contained in:
@@ -116,7 +116,7 @@ public final class DeviceProfilesSettings extends DialogFragment implements
|
||||
EditText deviceName = (EditText) mRootView.findViewById(R.id.name);
|
||||
mCachedDevice.setName(deviceName.getText().toString());
|
||||
break;
|
||||
case DialogInterface.BUTTON_NEGATIVE:
|
||||
case DialogInterface.BUTTON_NEUTRAL:
|
||||
mCachedDevice.unpair();
|
||||
com.android.settings.bluetooth.Utils.updateSearchIndex(getContext(),
|
||||
BluetoothSettings.class.getName(), mCachedDevice.getName(),
|
||||
|
Reference in New Issue
Block a user