commit | 6f56f7345fd00a13f2c1a3fc20d916cdb2748e9c | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Fri Jan 08 10:38:40 2021 +0800 |
committer | Louis Chang <louischang@google.com> | Fri Jan 08 10:38:40 2021 +0800 |
tree | 6dc34718d2c6dfd292c9867ff02a620a298f97d8 | |
parent | 465e654ae4c633cb4dc10073666459f3cd15007e [diff] |
Fix no #onUserLeaving() when top activity paused #onUserLeaving() was not called on the pausing activity, so the activity did not enter pip. This is a regression from 3befe55 that the activities were resumed from leaf tasks. Since there are two level tasks in split-screen mode, so the leaf task is always not equals to the root task. Bug: 176989982 Test: atest TaskTests Change-Id: Ic20cf5f6e87b479b142933aae415b4f45097d1d1