Merge "Start dim animations on pending vs sync transaction" into rvc-dev am: bb414bfea2 am: 407047743c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11923901 Change-Id: I39a10dd2419174049ec80b6a915dad1687216771
This commit is contained in:
@@ -290,7 +290,7 @@ public class DisplayArea<T extends WindowContainer> extends WindowContainer<T> {
|
||||
mDimmer.resetDimStates();
|
||||
}
|
||||
|
||||
if (mDimmer.updateDims(getSyncTransaction(), mTmpDimBoundsRect)) {
|
||||
if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) {
|
||||
scheduleAnimation();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3507,7 +3507,7 @@ class Task extends WindowContainer<WindowContainer> {
|
||||
|
||||
updateShadowsRadius(isFocused(), getSyncTransaction());
|
||||
|
||||
if (mDimmer.updateDims(getSyncTransaction(), mTmpDimBoundsRect)) {
|
||||
if (mDimmer.updateDims(getPendingTransaction(), mTmpDimBoundsRect)) {
|
||||
scheduleAnimation();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user