diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-02-10 19:39:50 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-02-10 19:39:50 +0100 |
commit | fb9924c82651ce0d3bd2e8d56665bd923123818e (patch) | |
tree | 8d8e2fc437fcdb122be2b5cecbe54e9b05068f9b /src/main/java/de | |
parent | ffba95da5691912edea172bae80b062dacc63540 (diff) |
don't cancel animation when switching accounts w/o init
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/XmppActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/XmppActivity.java b/src/main/java/de/pixart/messenger/ui/XmppActivity.java index 21340b425..4320c4a17 100644 --- a/src/main/java/de/pixart/messenger/ui/XmppActivity.java +++ b/src/main/java/de/pixart/messenger/ui/XmppActivity.java @@ -541,7 +541,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) { |