commit | 096fe2ccfb376521658f51cba30b7c0d4840ca40 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Wed Aug 21 07:28:22 2024 +0000 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Aug 21 09:03:21 2024 +0000 |
tree | ad39267b32951fde31414849a83c2870cad0b667 | |
parent | 53391a0f4256affd2e8ea1e9ff9de57b43cf62a4 [diff] |
Check idle activity from all activity container The home task could be: TaskHome - TaskFragment - ActivityB - ActivityA Then forAllLeafTaskFragments won't iterate ActivityA under TaskHome because it is a leaf Task but not a leaf TaskFragment. So separate the procedure to forAllLeafTasks + forAllLeafTaskFragments. Fix: 360946107 Flag: EXEMPT bugfix Test: atest RootWindowContainerTests#testAllResumedActivitiesIdle Change-Id: I2bb4bc7d141163d47f16c0e895afa451f46157d5