Connect button click handler for bluetooth forget dialog.

am: f8c29641da

Change-Id: I2529056af5cfa947c85dcc6633bb2b4498ac9fa6
This commit is contained in:
Fan Zhang
2016-09-28 01:57:49 +00:00
committed by android-build-merger

View File

@@ -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(),