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

Commit 340f86f7 authored by Issei Suzuki's avatar Issei Suzuki Committed by Android (Google) Code Review
Browse files

Merge "Removed unused flag ActivityRecord.inPendingTransaction"

parents 91bdd4f0 860fbc04
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
@@ -913,12 +913,6 @@
      "group": "WM_DEBUG_APP_TRANSITIONS",
      "group": "WM_DEBUG_APP_TRANSITIONS",
      "at": "com\/android\/server\/wm\/AppTransitionController.java"
      "at": "com\/android\/server\/wm\/AppTransitionController.java"
    },
    },
    "-121104356": {
      "message": "Remove %s: mSurfaceController=%s mAnimatingExit=%b mRemoveOnExit=%b mHasSurface=%b surfaceShowing=%b animating=%b app-animation=%b mWillReplaceWindow=%b inPendingTransaction=%b mDisplayFrozen=%b callers=%s",
      "level": "VERBOSE",
      "group": "WM_DEBUG_APP_TRANSITIONS",
      "at": "com\/android\/server\/wm\/WindowState.java"
    },
    "-116086365": {
    "-116086365": {
      "message": "******************** ENABLING SCREEN!",
      "message": "******************** ENABLING SCREEN!",
      "level": "INFO",
      "level": "INFO",
@@ -1333,6 +1327,12 @@
      "group": "WM_DEBUG_REMOTE_ANIMATIONS",
      "group": "WM_DEBUG_REMOTE_ANIMATIONS",
      "at": "com\/android\/server\/wm\/RemoteAnimationController.java"
      "at": "com\/android\/server\/wm\/RemoteAnimationController.java"
    },
    },
    "594260654": {
      "message": "Remove %s: mSurfaceController=%s mAnimatingExit=%b mRemoveOnExit=%b mHasSurface=%b surfaceShowing=%b animating=%b app-animation=%b mWillReplaceWindow=%b mDisplayFrozen=%b callers=%s",
      "level": "VERBOSE",
      "group": "WM_DEBUG_APP_TRANSITIONS",
      "at": "com\/android\/server\/wm\/WindowState.java"
    },
    "600140673": {
    "600140673": {
      "message": "checkBootAnimationComplete: Waiting for anim complete",
      "message": "checkBootAnimationComplete: Waiting for anim complete",
      "level": "INFO",
      "level": "INFO",
+0 −8
Original line number Original line Diff line number Diff line
@@ -587,7 +587,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
    private long mLastTransactionSequence = Long.MIN_VALUE;
    private long mLastTransactionSequence = Long.MIN_VALUE;
    private int mNumInterestingWindows;
    private int mNumInterestingWindows;
    private int mNumDrawnWindows;
    private int mNumDrawnWindows;
    boolean inPendingTransaction;
    boolean allDrawn;
    boolean allDrawn;
    private boolean mLastAllDrawn;
    private boolean mLastAllDrawn;


@@ -876,15 +875,10 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
            pw.print(prefix); pw.print("mNumInterestingWindows=");
            pw.print(prefix); pw.print("mNumInterestingWindows=");
            pw.print(mNumInterestingWindows);
            pw.print(mNumInterestingWindows);
            pw.print(" mNumDrawnWindows="); pw.print(mNumDrawnWindows);
            pw.print(" mNumDrawnWindows="); pw.print(mNumDrawnWindows);
            pw.print(" inPendingTransaction="); pw.print(inPendingTransaction);
            pw.print(" allDrawn="); pw.print(allDrawn);
            pw.print(" allDrawn="); pw.print(allDrawn);
            pw.print(" lastAllDrawn="); pw.print(mLastAllDrawn);
            pw.print(" lastAllDrawn="); pw.print(mLastAllDrawn);
            pw.println(")");
            pw.println(")");
        }
        }
        if (inPendingTransaction) {
            pw.print(prefix); pw.print("inPendingTransaction=");
            pw.println(inPendingTransaction);
        }
        if (mStartingData != null || removed || firstWindowDrawn || mIsExiting) {
        if (mStartingData != null || removed || firstWindowDrawn || mIsExiting) {
            pw.print(prefix); pw.print("startingData="); pw.print(mStartingData);
            pw.print(prefix); pw.print("startingData="); pw.print(mStartingData);
            pw.print(" removed="); pw.print(removed);
            pw.print(" removed="); pw.print(removed);
@@ -4036,7 +4030,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        // If we are preparing an app transition, then delay changing
        // If we are preparing an app transition, then delay changing
        // the visibility of this token until we execute that transition.
        // the visibility of this token until we execute that transition.
        if (okToAnimate() && appTransition.isTransitionSet()) {
        if (okToAnimate() && appTransition.isTransitionSet()) {
            inPendingTransaction = true;
            if (visible) {
            if (visible) {
                displayContent.mOpeningApps.add(this);
                displayContent.mOpeningApps.add(this);
                mEnteringAnimation = true;
                mEnteringAnimation = true;
@@ -4070,7 +4063,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
            boolean visible, int transit, boolean performLayout, boolean isVoiceInteraction) {
            boolean visible, int transit, boolean performLayout, boolean isVoiceInteraction) {


        boolean delayed = false;
        boolean delayed = false;
        inPendingTransaction = false;
        // Reset the state of mHiddenSetFromTransferredStartingWindow since visibility is actually
        // Reset the state of mHiddenSetFromTransferredStartingWindow since visibility is actually
        // been set by the app now.
        // been set by the app now.
        mHiddenSetFromTransferredStartingWindow = false;
        mHiddenSetFromTransferredStartingWindow = false;
+1 −3
Original line number Original line Diff line number Diff line
@@ -2016,14 +2016,12 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
            ProtoLog.v(WM_DEBUG_APP_TRANSITIONS,
            ProtoLog.v(WM_DEBUG_APP_TRANSITIONS,
                    "Remove %s: mSurfaceController=%s mAnimatingExit=%b mRemoveOnExit=%b "
                    "Remove %s: mSurfaceController=%s mAnimatingExit=%b mRemoveOnExit=%b "
                            + "mHasSurface=%b surfaceShowing=%b animating=%b app-animation=%b "
                            + "mHasSurface=%b surfaceShowing=%b animating=%b app-animation=%b "
                            + "mWillReplaceWindow=%b inPendingTransaction=%b mDisplayFrozen=%b "
                            + "mWillReplaceWindow=%b mDisplayFrozen=%b callers=%s",
                            + "callers=%s",
                    this, mWinAnimator.mSurfaceController, mAnimatingExit, mRemoveOnExit,
                    this, mWinAnimator.mSurfaceController, mAnimatingExit, mRemoveOnExit,
                    mHasSurface, mWinAnimator.getShown(),
                    mHasSurface, mWinAnimator.getShown(),
                    isAnimating(TRANSITION | PARENTS),
                    isAnimating(TRANSITION | PARENTS),
                    mActivityRecord != null && mActivityRecord.isAnimating(TRANSITION),
                    mActivityRecord != null && mActivityRecord.isAnimating(TRANSITION),
                    mWillReplaceWindow,
                    mWillReplaceWindow,
                    mActivityRecord != null && mActivityRecord.inPendingTransaction,
                    mWmService.mDisplayFrozen, Debug.getCallers(6));
                    mWmService.mDisplayFrozen, Debug.getCallers(6));


            // Visibility of the removed window. Will be used later to update orientation later on.
            // Visibility of the removed window. Will be used later to update orientation later on.