summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-09-10 21:14:09 +0000
committer Jorge Gil <jorgegil@google.com> 2024-09-11 18:17:38 +0000
commit7d59b3c87afebda64ae2663ad9dd674309fe1be4 (patch)
tree0cb8034a6acb7fc70183b431ad3f6784963e47cb /libs/input/PointerController.cpp
parent73b0b4827316282522538692bade48c7141fc2a5 (diff)
Always show caption in freeform even if apps are requesting immersive
The caption view visibility prior to this change was synced to the status bar visibility because the App Handle should not be shown when in immersive mode. However, when in freeform, InsetsState may still briefly report an invisible status bar even though the status bar is forcibly-shown in the desktop. For this reason, the App Header would sometimes be removed to follow the (incorrect) status bar inset source. This change forces the caption view to always be shown in freeform mode, regardless of if the status bar is reported as not visible. Flag: EXEMPT bugfix Bug: 356405803 Test: open immersive app in freeform (e.g. Call of Duty), launch Gmail on top, verify App Headers dont disappear (briefly or indefinitely). Change-Id: I27dd7952e9e5b783eea6217df1e84c9053a72fab
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions