diff options
| author | 2025-01-07 11:07:26 +0000 | |
|---|---|---|
| committer | 2025-01-13 22:53:05 -0800 | |
| commit | ce5c8fcde2e0d94f6e0bc2c6deaeedd1e63956d3 (patch) | |
| tree | 352a6afa3b8fa62490c108f559341f72b1dd52b3 /libs/androidfw/StringPool.cpp | |
| parent | 8ee235eef5be965a1426ec7d70987362adda68b9 (diff) | |
[1/n] Freeze rotation for SCM activities in desktop mode
When a SCM activity is in desktop mode, if the device is rotated don't
inherit new parent rotation. This essentially freezes the rotation of
the activity to that when it first enters SCM in desktop mode.
Replace `appCompatDisplayInsets.mIsFloating` with
`newParentConfiguration.windowConfiguration.tasksAreFloating()` to
respect current window mode and enfoce this behaviour.
Flag: NONE (bug fix)
Test: manual testing
Fixes: 368104917
Change-Id: I3964e1df30ce4a1d5b04a5159d89fee938acdb9b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions