commit | 553f62019b0a87daf900919c85358400c82cac6a | [log] [tgz] |
---|---|---|
author | Jerry Chang <chenghsiuchang@google.com> | Tue Sep 07 09:02:44 2021 +0800 |
committer | Jerry Chang <chenghsiuchang@google.com> | Tue Sep 07 09:20:49 2021 +0800 |
tree | 1bb45b97f787433cbfd3123d56ed57c5364818a2 | |
parent | b96a5795fc7f27b931b1fad0bf68fe46484c4501 [diff] |
Prevent NPE when checking focused stage before root task is ready If the root task of the stage is not created, treat the stage as not focused to prevent trowing NPE when traversing the root task and its child. Fix: 199060332 Test: manual check isFocused won't throw before root task is ready Change-Id: I3869f934b641c8ffd77730452d0501d65063785c