Merge "Fix shell-transit to legacy app-cancel metrics" into sc-v2-dev am: bfe16934ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15458850 Change-Id: I06e109452af887ac416f43b760b07c7c225bfea6
This commit is contained in:
@@ -1398,6 +1398,8 @@ class TaskFragment extends WindowContainer<WindowContainer> {
|
||||
|
||||
} else {
|
||||
prev.schedulePauseTimeout();
|
||||
// Unset readiness since we now need to wait until this pause is complete.
|
||||
mAtmService.getTransitionController().setReady(this, false /* ready */);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -657,7 +657,7 @@ class Transition extends Binder implements BLASTSyncEngine.TransactionReadyListe
|
||||
ArrayMap<WindowContainer, Integer> reasons = new ArrayMap<>();
|
||||
for (int i = mParticipants.size() - 1; i >= 0; --i) {
|
||||
ActivityRecord r = mParticipants.valueAt(i).asActivityRecord();
|
||||
if (r == null) continue;
|
||||
if (r == null || !r.mVisibleRequested) continue;
|
||||
// At this point, r is "ready", but if it's not "ALL ready" then it is probably only
|
||||
// ready due to starting-window.
|
||||
reasons.put(r, (r.mStartingData instanceof SplashScreenStartingData
|
||||
|
||||
Reference in New Issue
Block a user