Connect button click handler for bluetooth forget dialog.
am: f8c29641da
Change-Id: I2529056af5cfa947c85dcc6633bb2b4498ac9fa6
This commit is contained in:
@@ -116,7 +116,7 @@ public final class DeviceProfilesSettings extends DialogFragment implements
|
|||||||
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