mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Merge "Add null check when logging quick switch" into sc-v2-dev am: d873788275
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16584901 Change-Id: I90cd4d6af7b9c689d42f89fa06dfedb67a52da20
This commit is contained in:
@@ -470,7 +470,9 @@ public class TaskView extends FrameLayout implements Reusable {
|
||||
stubInfo.user = componentKey.user;
|
||||
stubInfo.intent = new Intent().setComponent(componentKey.componentName);
|
||||
stubInfo.title = task.title;
|
||||
stubInfo.screenId = getRecentsView().indexOfChild(this);
|
||||
if (getRecentsView() != null) {
|
||||
stubInfo.screenId = getRecentsView().indexOfChild(this);
|
||||
}
|
||||
return stubInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user