Skip to content
Commit 86dde2bd authored by Wale Ogunwale's avatar Wale Ogunwale
Browse files

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
parent 588a06f5
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