commit | d8d22e9577de777d6670ed5f045e67f93000024e | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Wed Dec 14 19:56:21 2022 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Dec 14 12:02:22 2022 +0000 |
tree | c753465d218009b7ba12b97efea5405d37e34bab | |
parent | 2016b1dcd1410e2cc03cb4bb44a3d988f97a37f4 [diff] |
Inherit smallest width if TF is not multi-window without bounds override So the embedded TaskFragment in fullscreen mode can have the same configuration as in a normal fullscreen task. Such as the fullscreen mode parent's smallestScreenWidthDp is calculated based on all rotations, while the multi-window mode child calculates the value by current size. Bug: 256787005 Test: atest TaskFragmentTest#testOnConfigurationChanged Change-Id: Ib79c6dc443cc0688b06035ddf64fe4dd766616a0