MCPcopy Create free account
hub / github.com/InsightIM/Tok-Android / logout

Method logout

app/src/main/java/com/client/tok/tox/State.java:60–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 }
59
60 public static void logout() {
61 NotifyManager.getInstance().cleanAllNotify();
62 infoRepository.synchroniseWithTox(ToxManager.getManager().toxBase.getFriendList());
63 ToxManager.getManager().saveAndClose();
64 userRepository.logout();
65 infoRepository.destroy();
66 userRepository.destroy();
67 }
68}

Callers 1

subscribeMethod · 0.95

Calls 8

getInstanceMethod · 0.95
getManagerMethod · 0.95
cleanAllNotifyMethod · 0.80
synchroniseWithToxMethod · 0.80
saveAndCloseMethod · 0.80
getFriendListMethod · 0.65
logoutMethod · 0.65
destroyMethod · 0.65

Tested by

no test coverage detected