Merge "Fix CtsAccessibilityServiceTestCases Fail" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
82150f3f7b
@@ -1296,12 +1296,6 @@ class WindowStateAnimator {
|
|||||||
return;
|
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;
|
final int transit;
|
||||||
if (mEnterAnimationPending) {
|
if (mEnterAnimationPending) {
|
||||||
mEnterAnimationPending = false;
|
mEnterAnimationPending = false;
|
||||||
@@ -1309,7 +1303,13 @@ class WindowStateAnimator {
|
|||||||
} else {
|
} else {
|
||||||
transit = WindowManagerPolicy.TRANSIT_SHOW;
|
transit = WindowManagerPolicy.TRANSIT_SHOW;
|
||||||
}
|
}
|
||||||
applyAnimationLocked(transit, true);
|
|
||||||
|
// 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) {
|
if (mService.mAccessibilityController != null) {
|
||||||
mService.mAccessibilityController.onWindowTransitionLocked(mWin, transit);
|
mService.mAccessibilityController.onWindowTransitionLocked(mWin, transit);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user