diff options
author | Darryl L Johnson <darryljohnson@google.com> | 2020-02-27 17:38:13 -0800 |
---|---|---|
committer | Darryl Johnson <darryljohnson@google.com> | 2020-03-06 19:00:08 +0000 |
commit | 1e3885c4c7184a41c204b3224948ed941f02da23 (patch) | |
tree | 593aad2bdd20fce38840d3116fae83bdecb3cde7 /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions