diff options
author | Louis Chang <louischang@google.com> | 2020-07-01 16:48:22 +0800 |
---|---|---|
committer | Louis Chang <louischang@google.com> | 2020-07-03 08:58:24 +0000 |
commit | 1ffdf4222adacbb6a58b77519c180a98fcc7d383 (patch) | |
tree | fa5ebf14c03228f77d252e1213670d0492f5006e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 276d5d7a0dc655d8405fa3ef4eccdf2f8e7289fa (diff) |
Do not reset preferred top focusable stack before positioning
Top resumed activity was not updated when starting home activity
while home was already resumed and had a pinned stack on top.
When starting home activity, the home task was moving to top,
the preferred top focusable stack was reset before positioning
home task. So, the top focusable stack was the pinned task
because there had a focusable activity (pip-menu activity)
on pinned task.
Bug: 159616359
Bug: 156314330
Test: atest PinnedStackTests#testFinishPipActivityWithTaskOverlay
Change-Id: I44313d1fe9e3d1e7a7a907b9b3eff920032198a8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions