don't cancel animation when switching accounts w/o init

This commit is contained in:
Daniel Gultsch 2018-02-10 13:32:37 +01:00
parent cb1a5e3c68
commit 64c956904d
1 changed files with 3 additions and 1 deletions

View File

@ -526,7 +526,9 @@ public abstract class XmppActivity extends Activity {
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NO_ANIMATION);
}
startActivity(intent);
overridePendingTransition(0,0);
if (init) {
overridePendingTransition(0, 0);
}
}
protected void delegateUriPermissionsToService(Uri uri) {