Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ce5c8fcd authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

[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
parent 8ee235ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment