Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e4c6ca77 authored by shawnlin's avatar shawnlin
Browse files

Support the ability to force-show navigation for GKS

GKS requested to force show nav bar except for Launcher apps.

Returns null in InsetsPolicy.getNavControlTarget() to forcibly
show the nav bar when:
  - The feature is enabled.
  - The activity type of the focus window is ACTIVITY_TYPE_STANDARD.

Bug: 161689887
Test: manual:
      1. adb shell settings put secure "nav_bar_kids_mode" "1"
      2. choose 3-buttons navigation mode in
         Settings>System>Gestures>System navigation
      2. open an app that hides nav bar and check if the nav bar is
         still visible.
Change-Id: I7679da7d8b0892317d04cdc3553fe9a8fcdb2292
parent 1bad646d
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