Skip to content
Commit 6008106a authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

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
parent 467fc61a
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