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

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); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NO_ANIMATION);
} }
startActivity(intent); startActivity(intent);
overridePendingTransition(0,0); if (init) {
overridePendingTransition(0, 0);
}
} }
protected void delegateUriPermissionsToService(Uri uri) { protected void delegateUriPermissionsToService(Uri uri) {