Merge "Ignore apply input transaction for removed activity." into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c53bae9803
@@ -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