aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethodcommon/InputMethodSettingsActivity.java
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2017-09-01 00:22:21 -0700
committerYohei Yukawa <yukawa@google.com>2017-09-01 00:22:21 -0700
commitfdfc55d3db4c999c1510de20367bdd7ddbf497f8 (patch)
treea770b0e9d31773be4abfddc50db73ee3cd86be79 /java/src/com/android/inputmethodcommon/InputMethodSettingsActivity.java
parent84a3a06d39aa7d969466938a17a06ad3000320b5 (diff)
downloadlatinime-fdfc55d3db4c999c1510de20367bdd7ddbf497f8.tar.gz
latinime-fdfc55d3db4c999c1510de20367bdd7ddbf497f8.tar.xz
latinime-fdfc55d3db4c999c1510de20367bdd7ddbf497f8.zip
Introduce a custom intent action to close software keyboard
This CL introduces a custom intent action for apps to ask AOSP Keyboard to close its software keyboard with guarding it with a signature-protected permission. Any app that is signed with the same signature as AOSP Keyboard can have the following line in AndroidManifest.xml <uses-permission android:name="com.android.inputmethod.latin.HIDE_SOFT_INPUT"/> to request AOSP Keyboard to close its software keyboard as follows. sendBroadcast(new Intent("com.android.inputmethod.latin.HIDE_SOFT_INPUT") .setPackage("com.android.inputmethod.latin")); Test: Manually verified with a test app. Fixes: 65270710 Change-Id: I4fd2e3a7336ec66c70582a2f274a200cbf035a7f
Diffstat (limited to 'java/src/com/android/inputmethodcommon/InputMethodSettingsActivity.java')
0 files changed, 0 insertions, 0 deletions