Merge "Start dim animations on pending vs sync transaction" into rvc-dev am: bb414bfea2 am: 407047743c am: 3712df59f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11923901 Change-Id: I043ff382993caac3b62102728d351c987cb4fe8a
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