commit | 37848f3f3e56135bf2a52e031bdf5359d0219ef9 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Wed Feb 27 19:27:45 2019 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Fri Mar 08 15:01:43 2019 +0800 |
tree | 03f511d94a8e8b616a10da17291765439e6923d7 | |
parent | 01794b570b7a8f95d2bef29d15ebafa934eb7ac5 [diff] |
Fix NPE in WMS In RootWindowContainer#getTopFocusedDisplayContent(), there is a chance which the external display is disconected but mTopFocusedDisplayId is not yet updated, which cause NPE when trying to use DisplayContent field returned by RootWindowContainer#getTopFocusedDisplayContent(). Reroute to default displayContent when top focused displayContent is null. fix: 124773022 Test: atest WmTests Change-Id: I8c59fd4f43ac17a44f643e75829e546487a8d4ec