summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-06-11 17:41:45 -0700
committerYohei Yukawa <yukawa@google.com>2018-06-11 17:41:45 -0700
commit6008106a64b48022997dc77dfd3c89dd5d3c5050 (patch)
treeafcd440589356482452141e6ce801baabfbfc611 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent467fc61aa24e4d8b685cffa56f7d7dfa69a9d67e (diff)
Lazily request spell checker session
Currently when an EditText is attached to a Window, one spell checker session will be immediately requested even when that EditText is empty. This is not efficient, especially for notification with direct reply. With this CL, EditText does not request spell checker session while it is empty. Basically this doesn't cause any user-visible behavior change. Bug: 109701487 Fix: 37434131 Test: Run 'adb shell dumpsys textservices' to make that a new spell checker session is established not when a notification with direct reply is posted but when the user actually starts replying on that notification. Change-Id: Iee04f4c0e2d248041d01c528344b191b9875d122
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions