Skip to content
Commit 1831e8ec authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Do not hide caption for hiding navigation bar flag

Previously, if the app is in fullscreen and with system UI controlling
flags to hide/dim the navigation, the caption will go away. Any of the
following four flags will hide caption: FULLSCREEN, LOW_PROFILE,
IMMERSIVE and HIDE_NAVIGATION.

IMMERSIVE flag itself will do nothing without HIDE_NAVIATION and
FULLSCREEN. LOW_PROFILE should not apply to caption as the caption
cannot be dimmed. HIDE_NAVIGATION should not apply to caption. We should
only hide the caption when the FULLSCREEN flag is on.

Bug: 131099092
Test: Manual with latest Gmail app.
Test: go/wm-smoke
Change-Id: I4757c4a4ccbe1cc106b5b6f856f3e734bbd6cbb6
parent f8c90495
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