Update DeviceManager after deleting a device
This commit is contained in:
parent
56d8a49d5b
commit
27c83604d3
|
@ -302,7 +302,8 @@ public class ControlCenter extends GBActivity {
|
|||
if (selectedDevice != null) {
|
||||
showDeleteDeviceDialog(selectedDevice);
|
||||
selectedDevice = null;
|
||||
refreshPairedDevices();
|
||||
Intent refreshIntent = new Intent(DeviceManager.ACTION_REFRESH_DEVICELIST);
|
||||
LocalBroadcastManager.getInstance(getApplicationContext()).sendBroadcast(refreshIntent);
|
||||
}
|
||||
return true;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue