Fix NPE of BaseContainerInterface#calculateTaskSizeInternal
Fix: 351861547 Flag: NONE - Bug fix Test: Presubmit Change-Id: I984748a6c5487a946a96aa3e2183b5d13a370b6d
This commit is contained in:
1 parent
6e43c6aadf
commit
eef1599c06
2 files changed
+10
-5
No files matched your search
@@ -49,6 +49,7 @@ import android.util.Log;
|
||||
import android.view.Display;
|
||||
|
||||
import androidx.annotation.AnyThread;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.UiThread;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
@@ -513,9 +514,8 @@ public class DisplayController implements ComponentCallbacks, SafeCloseable {
|
||||
return Collections.unmodifiableSet(mPerDisplayBounds.keySet());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns all {@link WindowBounds}s for the current display.
|
||||
*/
|
||||
/** Returns all {@link WindowBounds}s for the current display. */
|
||||
@Nullable
|
||||
public List<WindowBounds> getCurrentBounds() {
|
||||
return mPerDisplayBounds.get(normalizedDisplayInfo);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user