Search in sources :

Example 1 with SignOut

use of com.waz.zclient.controllers.tracking.events.profile.SignOut in project wire-android by wireapp.

the class MainActivity method logout.

@Override
public void logout() {
    getSupportFragmentManager().popBackStackImmediate();
    // TODO: Remove old SignOut event AN-4232
    injectJava(GlobalTrackingController.class).tagEvent(new SignOut());
    injectJava(GlobalTrackingController.class).tagEvent(new LoggedOutEvent());
    getStoreFactory().getZMessagingApiStore().logout();
    getControllerFactory().getUsernameController().logout();
}
Also used : SignOut(com.waz.zclient.controllers.tracking.events.profile.SignOut) GlobalTrackingController(com.waz.zclient.tracking.GlobalTrackingController) LoggedOutEvent(com.waz.zclient.core.controllers.tracking.events.session.LoggedOutEvent)

Aggregations

SignOut (com.waz.zclient.controllers.tracking.events.profile.SignOut)1 LoggedOutEvent (com.waz.zclient.core.controllers.tracking.events.session.LoggedOutEvent)1 GlobalTrackingController (com.waz.zclient.tracking.GlobalTrackingController)1