summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Maryam Dehaini <mdehaini@google.com> 2024-03-28 12:27:32 -0700
committer Maryam Dehaini <mdehaini@google.com> 2024-03-29 17:43:35 -0700
commitdd88afd0bf644d4d955bd30763cf15ac58ae0803 (patch)
treea50c9edbdf497cd421f8d7bc0e12919a91a1b05b /libs/androidfw/StringPool.cpp
parent021ecf5cb2ffd3f7732172872a38b813331d71f3 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions