Also setEarlyWakeup for single frame transaction to hide window.

Bug: 79204453
Change-Id: Ib13f8a0c49b03fdce960b3f480c598bb70a113ef
This commit is contained in:
Winson Chung
2018-05-03 11:14:14 -07:00
parent 9ebc88a381
commit 3f596f649d
2 changed files with 2 additions and 1 deletions

View File

@@ -142,6 +142,7 @@ public class LongSwipeHelper {
}
}
}
transaction.setEarlyWakeup();
transaction.apply();
}

View File

@@ -167,10 +167,10 @@ public class ClipAnimationHelper {
|| app.activityType == RemoteAnimationTargetCompat.ACTIVITY_TYPE_HOME) {
transaction.setAlpha(app.leash, 1 - progress);
}
transaction.setEarlyWakeup();
mTaskTransformCallback.accept(transaction, app);
}
transaction.setEarlyWakeup();
transaction.apply();
return currentRect;
}