commit | 86dde2bd49b8e36b8b8f135c2cffdee00999eeab | [log] [tgz] |
---|---|---|
author | Wale Ogunwale <ogunwale@google.com> | Thu Jan 18 06:15:45 2018 -0800 |
committer | Wale Ogunwale <ogunwale@google.com> | Thu Jan 18 06:15:45 2018 -0800 |
tree | 13e7e454ec65d74dfa478e3b5075bd9bda7602da | |
parent | 588a06f5a25adad63337ac481f9e1b55dcc169a1 [diff] |
Fix NPE in ActivityStack.ensureActivitiesVisibleLocked Follow-up to ag/3345710 where we add call to the display object. It is possible for ensureActivitiesVisibleLocked to be called when the stack has been removed from the display and no longer has any tasks. So, we need to check if the stack is attached to the display before trying to access it. Change-Id: I9d7c3d00c1af1813b2c408339188fcef2c1a1a6f Fixes: 72107481 Test: manual