summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2022-02-08 00:53:13 -0800
committerYohei Yukawa <yukawa@google.com>2022-02-08 09:55:07 -0800
commitb89cbc6f05af0bb1637e6992835b6fc00ed8be8c (patch)
tree58d838620e666287e6407a0b328c83e44888c8c9 /core/java/android/inputmethodservice/InputMethodService.java
parente42973080953a9261a5a2b4a6e6542ba3a4c42c6 (diff)
Introduce config_imeDrawsImeNavBar
This is a follow up CL to my previous CL [1], which used the following conditions to determine when to let the IME render the back and IME switcher buttons. * InputMethodService#canImeRenderGesturalNavButtons(), and * com.android.internal.R.integer.config_navBarInteractionMode == 2 In production, there may be cases when we want to use the previous mode even if config_navBarInteractionMode remains to be 2. As a preparation to support such scenarios, this CL introduces config_navBarInteractionMode as an overlayable resource. In subsequent CLs, we will start actually using it. Anyway there should be no observable behavior change in this CL. [1]: I3e7e1f83554444131e2765dc159617bb9e2337c7 ff7b453ca8e23b4ef75ba2c3f5becaf511cb07d3 Bug: 216118048 Test: Manually verified as follows 1. Build aosp_coral-userdebug and flash it 2. adb shell cmd overlay lookup android android:bool/config_imeDrawsImeNavBar => "false" 3. Enable gestural navigation 4. adb shell cmd overlay lookup android android:bool/config_imeDrawsImeNavBar => "true" Change-Id: I0651a99b6007a84be63b85b579a85af0f24bb6ec
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions