diff options
| author | shawnlin <shawnlin@google.com> | 2022-01-26 13:15:40 +0800 |
|---|---|---|
| committer | shawnlin <shawnlin@google.com> | 2022-01-27 10:17:51 +0800 |
| commit | e4c6ca77c99adea72cd99b7d92d219b41270a454 (patch) | |
| tree | e0b7e8a8959e98b1185ac5d36bc8e349601369aa /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 1bad646ddd2574fb1bddd014273b3183ae4982bf (diff) | |
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
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
