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;
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
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) {
|
||||
mService.mAccessibilityController.onWindowTransitionLocked(mWin, transit);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user