Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8dc1b03a authored by Louis Chang's avatar Louis Chang
Browse files

Fix unable to back when starting new TF on AE primary

The focsued app was not updated when starting an Activity C on
a new TaskFragment while the secondary container is pinned
(A|B) -> (C|B). That's because the focused app is used to be
updated to the top-most resumed activity of the top-most focused
Task.

In that case, the focused window is also null because both the
window of C and B are in a different TF than the focused
app's TF, so cannot be focused.

Updates the last resumed activity regardless of the activity
is the top-most one.

Bug: 329539209
Test: TaskFragmentTest
Change-Id: I7f307084b8814b922f7c9defd40bb468eddf71b9
parent b67dfbd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment