don't cancel animation when switching accounts w/o init
This commit is contained in:
parent
cb1a5e3c68
commit
64c956904d
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue