Fix Task#getDimBounds
Test: presubmit Change-Id: I4591b68cb523a2d9f887e436776bccfce9849128
This commit is contained in:
@@ -2724,6 +2724,7 @@ class Task extends WindowContainer<WindowContainer> {
|
||||
boolean[] foundTop = { false };
|
||||
final PooledConsumer c = PooledLambda.obtainConsumer(Task::getMaxVisibleBounds,
|
||||
PooledLambda.__(ActivityRecord.class), out, foundTop);
|
||||
forAllActivities(c);
|
||||
c.recycle();
|
||||
if (foundTop[0]) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user