mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 03:16:51 +01:00
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
Block a user