Merge "Add null check in transientlaunchrestoretarget" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f149b8bb51
@@ -216,6 +216,7 @@ class Transition extends Binder implements BLASTSyncEngine.TransactionReadyListe
|
||||
}
|
||||
|
||||
Task getTransientLaunchRestoreTarget(@NonNull WindowContainer container) {
|
||||
if (mTransientLaunches == null) return null;
|
||||
for (int i = 0; i < mTransientLaunches.size(); ++i) {
|
||||
if (mTransientLaunches.keyAt(i).isDescendantOf(container)) {
|
||||
return mTransientLaunches.valueAt(i);
|
||||
|
||||
Reference in New Issue
Block a user