Skip to content

Support hiding the geture navigation hint - #83

Open
0xALUCARD wants to merge 1 commit into
GrapheneOS:17from
0xALUCARD:hide-nav-hint
Open

Support hiding the geture navigation hint#83
0xALUCARD wants to merge 1 commit into
GrapheneOS:17from
0xALUCARD:hide-nav-hint

Conversation

@0xALUCARD

Copy link
Copy Markdown

Honors Settings.Secure.HIDE_NAVIGATION_HANDLE: when enabled, the gesture navigation hint (pill) is not drawn. In Android 17, the launcher is responsible for drawing the pill system-wide.

The pill is hidden at it's alpha setting (ALPHA_INDEX_STASHED set to 0, which makes it invisible), so app layout is unchanged in both edge-to-edge and legacy apps.

This feature has been referenced as acceptable by the GrapheneOS team, by @thestinger in #2760, it has been implemented in this PR as instructed: "[It] should not remove the reserved space in apps without edge-to-edge support to avoid breaking app compatibility. It should only hide the navigation zone hint."

This feature is implemented in 3 repos:

  • frameworks/base: defines the setting (link)
  • Settings app: adds the user-facing toggle (link)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant