commit | 2952f2cf6bf243dad780dda6dec90807333da16e | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Wed Feb 03 10:53:45 2021 -0800 |
committer | Garfield Tan <xutan@google.com> | Wed Feb 03 16:04:28 2021 -0800 |
tree | f81d9404332ea2390fe08e7b85861f5a69feb705 | |
parent | 40517bbf46961b6d6bc693cd75d5d8a2abdde277 [diff] |
Only save launch params for leaf tasks. It doesn't happen in R because back then ActivityStack inherits from Task and we pass ActivityInfo to it when it's created so setIntent() is called and Task#realActivity isn't null. Bug: 178789502 Test: System won't crash when setting display windowing mode. Test: atest TaskRecordTests with no new failures. Change-Id: I29adf18700a85593a80d08cf5be998542a97fc51