diff options
| author | 2022-03-02 09:15:46 +0000 | |
|---|---|---|
| committer | 2022-03-02 12:48:28 +0000 | |
| commit | 3d419be76f1c17fd8adc9d8ac7d7e63af461152b (patch) | |
| tree | d414bf7282676e4b69b5c78c7a361b9959fa3c79 /libs/androidfw/AttributeResolution.cpp | |
| parent | de4a9a6a069ba28c9d97d818dd030808987ac34b (diff) | |
Limit launching placeholder to top TaskFragment
Currently, we launch placeholder Activity if Activity is not split
and matches placeholder rule. However, there's a scenario that
the Activity which matches placeholder rule is occulded by a fullscreen
Activity, but SplitController still launches placeholder on top of the
fullscreen Activity.
This CL verifies if the Activity located TaskFragmentContainer is on top
to launch placeholder. It also makes #getTopActiveContainer consider
Activity from other process by verifying #getRunningActivityCount.
Test: manual - Repro steps in bugs
Bug: 214175523
Change-Id: Id287d8c5235918b78ccd43bfddf9bb17ee0ff2e8
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions