OSDN Git Service

Fix crash due to TextView.getText() returning null.
authorAbodunrinwa Toki <toki@google.com>
Tue, 26 Sep 2017 19:09:06 +0000 (20:09 +0100)
committerAbodunrinwa Toki <toki@google.com>
Tue, 26 Sep 2017 19:09:06 +0000 (20:09 +0100)
commit7c1e425838937c98d0cb29a8da9779b060506927
treece79a709d14769efeb91609c9fcdf83fa6ed368b
parentd35b250a4de82a5f4fe452c32c69fd981496baa5
Fix crash due to TextView.getText() returning null.

This CL ensures that a null text is not passed to
TextClassificationHelper.reset(...)

This CL does not handle the issue of TextView.getText() being null.

Bug: 65682674
Test: none
Change-Id: Id8bdc062ecf21cc14810586580fef9052672cfd8
core/java/android/widget/SelectionActionModeHelper.java