diff options
author | Yunfan Chen <yunfanc@google.com> | 2019-04-24 15:54:49 +0900 |
---|---|---|
committer | Yunfan Chen <yunfanc@google.com> | 2019-04-24 23:00:21 +0900 |
commit | 1831e8ecd38c756a54c3a2172facb5eeda20767b (patch) | |
tree | 22917d41ffa1ec4a17f05c4bb408fd314f31d087 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | f8c904958b13db47da54c00c1576c90fa41ba0bb (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions