Add null check when logging quick switch
Test: none Fixes: 209993127 Change-Id: I927f8969cf5ef3759b501fe1ada4d3b061b53d06
This commit is contained in:
parent
b57235563c
commit
688148ac69
|
@ -470,7 +470,9 @@ public class TaskView extends FrameLayout implements Reusable {
|
||||||
stubInfo.user = componentKey.user;
|
stubInfo.user = componentKey.user;
|
||||||
stubInfo.intent = new Intent().setComponent(componentKey.componentName);
|
stubInfo.intent = new Intent().setComponent(componentKey.componentName);
|
||||||
stubInfo.title = task.title;
|
stubInfo.title = task.title;
|
||||||
stubInfo.screenId = getRecentsView().indexOfChild(this);
|
if (getRecentsView() != null) {
|
||||||
|
stubInfo.screenId = getRecentsView().indexOfChild(this);
|
||||||
|
}
|
||||||
return stubInfo;
|
return stubInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue