Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0321573f authored by Craig Mautner's avatar Craig Mautner
Browse files

Remove deprecated (and now unused) API method.

Removes ActivityOptions.makeLaunchTaskBehindAnimation().

Fixes bug 16958544.

Change-Id: I2d58f4235994fe01d55b3309d0ec6f8449c5d5b8
parent 68c936f7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3791,7 +3791,6 @@ package android.app {
  public class ActivityOptions {
    method public static android.app.ActivityOptions makeCustomAnimation(android.content.Context, int, int);
    method public static deprecated android.app.ActivityOptions makeLaunchTaskBehindAnimation();
    method public static android.app.ActivityOptions makeScaleUpAnimation(android.view.View, int, int, int, int);
    method public static android.app.ActivityOptions makeSceneTransitionAnimation(android.app.Activity, android.view.View, java.lang.String);
    method public static android.app.ActivityOptions makeSceneTransitionAnimation(android.app.Activity, android.util.Pair<android.view.View, java.lang.String>...);
+0 −5
Original line number Diff line number Diff line
@@ -515,11 +515,6 @@ public class ActivityOptions {
        return opts;
    }

    @Deprecated
    public static ActivityOptions makeLaunchTaskBehindAnimation() {
        return makeTaskLaunchBehind();
    }

    /** @hide */
    public boolean getLaunchTaskBehind() {
        return mAnimationType == ANIM_LAUNCH_TASK_BEHIND;
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ public class ActivityTestMain extends Activity {
                    Intent intent = new Intent(ActivityTestMain.this, SpamActivity.class);
                    Bundle options = null;
                    if (fg) {
                        ActivityOptions opts = ActivityOptions.makeLaunchTaskBehindAnimation();
                        ActivityOptions opts = ActivityOptions.makeTaskLaunchBehind();
                        options = opts.toBundle();
                    }
                    startActivity(intent, options);