diff options
author | wilsonshih <wilsonshih@google.com> | 2021-04-22 18:22:46 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2021-05-18 15:37:23 +0800 |
commit | dec663653f3dc107f500fb933fdc7d2b3f5c0676 (patch) | |
tree | 00790924b69180e576ebcc58f87b155536aa583b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 05555262dd49f008139dd3f0bce6dadeb13f11ca (diff) |
Fix ActivityOption#setTaskOverlay can be covered by other activity.
Although ActivityRecord#setTaskOverlay has set setAlwaysOnTop, but it
is not useful in Task#getAdjustedChildPosition, because when sorting
activities in a task, it is meanless to check the windowing mode for
an activity. A simple solution is to override the isAlwaysOnTop method.
And because Task#showToCurrentUser will depends on current top task,
so we cannot add the task before adjusting the position.
Bug: 181721787
Test: atest RootTaskTests StartActivityAsUserTests StartActivityTests
Change-Id: I7fdf19d04bf71fa97a841223c06fad9a7e0b2ee4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions