mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Add null check when logging quick switch" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d873788275
@@ -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