Back to project page jive-android-core-sdk-example.
The source code is released under:
Apache License
If you think the Android project jive-android-core-sdk-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jivesoftware.example.utils; // w ww .j a v a2 s.c o m import android.content.Context; import com.jivesoftware.example.github.authentication.GitHubAuthenticationActivity; import javax.inject.Inject; /** * Created by mark.schisler on 10/21/14. */ public class AuthorizationReset { private final Context context; private final ActivityLauncher activityLauncher; private final PersistedKeyValueStore persistedKeyValueStore; @Inject public AuthorizationReset(Context context, ActivityLauncher activityLauncher, PersistedKeyValueStore persistedKeyValueStore) { this.context = context; this.activityLauncher = activityLauncher; this.persistedKeyValueStore = persistedKeyValueStore; } public void performReset() { persistedKeyValueStore.clear(); activityLauncher.launchClearTop(context, GitHubAuthenticationActivity.class); } }