commit | 1e3885c4c7184a41c204b3224948ed941f02da23 | [log] [tgz] |
---|---|---|
author | Darryl L Johnson <darryljohnson@google.com> | Thu Feb 27 17:38:13 2020 -0800 |
committer | Darryl Johnson <darryljohnson@google.com> | Fri Mar 06 19:00:08 2020 +0000 |
tree | 593aad2bdd20fce38840d3116fae83bdecb3cde7 | |
parent | 5e28e529b9b5f1c6b8a54e84279235ee1625283c [diff] |
Protect against assumptions of a top focused stack. RootWindowContainer#getTopDisplayFocusedStack() has the potential to return null when there are no focusable stacks. This guards against many assumptions that a top focused stack exists. Bug: 144085050 Bug: 148125390 Bug: 150754510 Fixes: 144085050 Test: ActivityStarterTests Test: ActivityStackTests Test: ActivityTaskManagerServiceTests Test: RootWindowContainerTests Change-Id: Ibefc3a802aba5a90898837359ec59a48f39834dc