Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

fix crash loop back off #636

Merged
merged 1 commit into from
Oct 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public static void onApplicationStarted(Activity activity) {
PreferenceManager.getDefaultSharedPreferences(activity)
.edit()
.putBoolean(RESTART_IN_PROGRESS_KEY, false)
.apply();
.commit();
}


Expand All @@ -285,7 +285,7 @@ public static void restartApp(Context activity, boolean invalidatedCredentials)
preferences
.edit()
.putBoolean(RESTART_IN_PROGRESS_KEY, true)
.apply();
.commit();

Intent loginIntent = new Intent(activity, TchapLoginActivity.class);
if (invalidatedCredentials) {
Expand Down