diff options
author | Darryl L Johnson <darryljohnson@google.com> | 2019-12-19 17:38:41 -0800 |
---|---|---|
committer | Darryl L Johnson <darryljohnson@google.com> | 2020-02-13 10:26:37 -0800 |
commit | 3388bd2a0b0cdcb79c36d939f5913669de1b7b90 (patch) | |
tree | f72bc22033a6d7f80e20ee33391c4c9f13a2a7c3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b2e935ae7b0825781b2021da019a476183c49897 (diff) |
Protect against assumptions of an existing home stack.
Since there is no longer a guarantee that a home stack will
exist this:
- Adds a method to create a home stack if the display should have one
and it doesn't exist.
- Replaces calls to DisplayContent#getHomeStack() if those calls assumed
a home stack would exist.
Bug: 144085050
Fixes: 144085050
Test: RootActivityContainerTests
Test: DisplayContentTests
Change-Id: Iec6b5ccf66fed7777d19b61c5624bd097edb6786
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions