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

Commit 447ae2dd authored by lumark's avatar lumark Committed by android-build-merger
Browse files

Merge "Fix CtsAccessibilityServiceTestCases Fail" into qt-dev

am: 82150f3f

Change-Id: I3b15d188b017b44ad938a6effe4a2254de0d5ef2
parents 27464739 82150f3f
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -1296,12 +1296,6 @@ class WindowStateAnimator {
            return;
        }

        // We don't apply animation for application main window here since this window type
        // should be controlled by AppWindowToken in general.
        if (mAttrType == TYPE_BASE_APPLICATION) {
            return;
        }

        final int transit;
        if (mEnterAnimationPending) {
            mEnterAnimationPending = false;
@@ -1309,7 +1303,13 @@ class WindowStateAnimator {
        } else {
            transit = WindowManagerPolicy.TRANSIT_SHOW;
        }

        // We don't apply animation for application main window here since this window type
        // should be controlled by AppWindowToken in general.
        if (mAttrType != TYPE_BASE_APPLICATION) {
            applyAnimationLocked(transit, true);
        }

        if (mService.mAccessibilityController != null) {
            mService.mAccessibilityController.onWindowTransitionLocked(mWin, transit);
        }