Connect button click handler for bluetooth forget dialog. am: f8c29641da

am: e469371dac

Change-Id: I442d8074737cbbfc788bb0f7be155119aad40d3b
This commit is contained in:
Fan Zhang
2016-09-28 02:01:04 +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(),