Connect button click handler for bluetooth forget dialog. am: f8c29641da
am: e469371dac
am: c4a53b367e
Change-Id: Ie0968931c918718417948214b6ba7d54733c91cf
This commit is contained in:
@@ -115,7 +115,7 @@ public final class DeviceProfilesSettings extends InstrumentedDialogFragment imp
|
|||||||
EditText deviceName = (EditText) mRootView.findViewById(R.id.name);
|
EditText deviceName = (EditText) mRootView.findViewById(R.id.name);
|
||||||
mCachedDevice.setName(deviceName.getText().toString());
|
mCachedDevice.setName(deviceName.getText().toString());
|
||||||
break;
|
break;
|
||||||
case DialogInterface.BUTTON_NEGATIVE:
|
case DialogInterface.BUTTON_NEUTRAL:
|
||||||
mCachedDevice.unpair();
|
mCachedDevice.unpair();
|
||||||
com.android.settings.bluetooth.Utils.updateSearchIndex(getContext(),
|
com.android.settings.bluetooth.Utils.updateSearchIndex(getContext(),
|
||||||
BluetoothSettings.class.getName(), mCachedDevice.getName(),
|
BluetoothSettings.class.getName(), mCachedDevice.getName(),
|
||||||
|
Reference in New Issue
Block a user