Merge "Ignore apply input transaction for removed activity." into tm-qpr-dev am: c53bae9803
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19033272 Change-Id: Iee6e9be5bdbd4c10d4bb993ab1f5972db31c08ba Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -673,7 +673,7 @@ class Transition extends Binder implements BLASTSyncEngine.TransactionReadyListe
|
||||
SurfaceControl.Transaction inputSinkTransaction = null;
|
||||
for (int i = 0; i < mParticipants.size(); ++i) {
|
||||
final ActivityRecord ar = mParticipants.valueAt(i).asActivityRecord();
|
||||
if (ar == null || !ar.isVisible()) continue;
|
||||
if (ar == null || !ar.isVisible() || ar.getParent() == null) continue;
|
||||
if (inputSinkTransaction == null) {
|
||||
inputSinkTransaction = new SurfaceControl.Transaction();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user