diff options
| author | Louis Chang <louischang@google.com> | 2021-08-17 14:19:37 +0800 |
|---|---|---|
| committer | Louis Chang <louischang@google.com> | 2021-08-17 14:19:37 +0800 |
| commit | 0ae8f3504b96cb93586ed3f9634126d063505061 (patch) | |
| tree | 043242147b0b58f8c1ee2690e372ff1d39a76b1f /core/java/android/util/SparseArrayMap.java | |
| parent | 103c305438fe8e508955b41e3a50bbf12784a8d6 (diff) | |
Prevent repeatedly resuming/pausing activities in split
The embedding activity was repeatedly pausing/resuming
when the app is targeting SDK before Q. That's because
we were only comparing the z-order of the root task.
However, both of the two activities in split are in the
same task.
Update the topmost activity by comparing the z-order of
the activities.
Bug: 196923917
Test: start app with targetSDK prior Q in split
Change-Id: Ib6ffb12439689f38e83e320a0c9e739829e0f8fc
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions
