|
|
|
@ -500,6 +500,14 @@ public class AndroidUtilities {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* If you want to set a transition, please use this method rather than <code>callApiMethod</code> to ensure
|
|
|
|
|
|
|
|
* you really pass an Activity-instance.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @param activity the activity-instance for which to set the finish-transition
|
|
|
|
|
|
|
|
* @param enterAnim the incoming-transition of the next activity
|
|
|
|
|
|
|
|
* @param exitAnim the outgoing-transition of this activity
|
|
|
|
|
|
|
|
*/
|
|
|
|
public static void callOverridePendingTransition(Activity activity, int enterAnim, int exitAnim) {
|
|
|
|
public static void callOverridePendingTransition(Activity activity, int enterAnim, int exitAnim) {
|
|
|
|
callApiMethod(5,
|
|
|
|
callApiMethod(5,
|
|
|
|
activity,
|
|
|
|
activity,
|
|
|
|
|