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

Skip to content
Commit dd88afd0 authored by Maryam Dehaini's avatar Maryam Dehaini
Browse files

Clear "restore" mode when setting windowing mode

Whenever Task#setWindowingMode is called,
mMultiwindowRestoreWindowingMode is cleared.
Activity#requestMultiwindowFullscreen will now set the task's
mMultiwindowRestoreWindowingMode after setting the new windowing mode
when requesting to enter freefrom. That way, the request fullscreen api
can only restore the windowing mode if no windowing mode change occurs
between the time a task requests to enter and exit fullscreen.

Bug: 331649648
Test: Enter fullscreen using api, exit and re-enter fullscreen using the
caption handle, attemt to exit fullscreen using the api. App should stay
in fullscreen.

Change-Id: Ia379d8dc4b9a57352a35b0504815a88f1c9fdbd6
parent 021ecf5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment