Skip to content
Commit 48c0ed08 authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Fix NPE when trying to access task before AppWindowToken attach to one

This is a race condition. While create AppWindowToken, before attach to
a task container.addChild(), accessing task attached to the token will
cause an NPE. The root cause can be fixed after we unifying Task and
TaskRecord. Just post a temporary solution here to avoid crash.

Bug: 120197396
Test: go/wm-smoke
Change-Id: I37008c16546e02358d9f88d1c9fd544002357137
parent 6f5ea0c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment