Implement removing linked devices

Only allowed from the master device
This commit is contained in:
AsamK 2016-04-16 15:03:23 +02:00
parent 17ff7531d4
commit 08a217108a
2 changed files with 27 additions and 0 deletions

View file

@ -264,6 +264,10 @@ class Manager implements Signal {
return accountManager.getDevices();
}
public void removeLinkedDevices(int deviceId) throws IOException {
accountManager.removeDevice(deviceId);
}
public static Map<String, String> getQueryMap(String query) {
String[] params = query.split("&");
Map<String, String> map = new HashMap<>();