From 3256e1e744600c5baea35fc36e12bab871916637 Mon Sep 17 00:00:00 2001 From: Fedor Kudasov Date: Mon, 15 Nov 2021 17:03:41 +0000 Subject: [PATCH] Add some more @Nullable annotations Bug: 205828770 Test: m LauncherGoResLib Change-Id: I6d2f269c4ec5f6cdee31ad68545c2720fbf1d8fc (cherry picked from commit 9385170c1b3b295c8d087cbc1de761f25aadc1ba) --- quickstep/src/com/android/quickstep/views/GroupedTaskView.java | 2 +- quickstep/src/com/android/quickstep/views/RecentsView.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/views/GroupedTaskView.java b/quickstep/src/com/android/quickstep/views/GroupedTaskView.java index 30b55a896f..df99d27376 100644 --- a/quickstep/src/com/android/quickstep/views/GroupedTaskView.java +++ b/quickstep/src/com/android/quickstep/views/GroupedTaskView.java @@ -74,7 +74,7 @@ public class GroupedTaskView extends TaskView { } public void bind(Task primary, Task secondary, RecentsOrientedState orientedState, - StagedSplitBounds splitBoundsConfig) { + @Nullable StagedSplitBounds splitBoundsConfig) { super.bind(primary, orientedState); mSecondaryTask = secondary; mTaskIdContainer[1] = secondary.key.id; diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 0188962da9..7efe8799b5 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -838,6 +838,7 @@ public abstract class RecentsView