OSDN Git Service

Ensure EditorInfo#locales is set before return.
authorYohei Yukawa <yukawa@google.com>
Thu, 21 Jan 2016 05:09:33 +0000 (21:09 -0800)
committerYohei Yukawa <yukawa@google.com>
Thu, 21 Jan 2016 05:09:33 +0000 (21:09 -0800)
commit0445fdf321e74044dc9f3719922fc8ff4923fdf4
treedae24cbbd3ed69272416c6624ff6cb6df25921a3
parent73d63b4a7211a837af360761f7dfeeb07ac524f2
Ensure EditorInfo#locales is set before return.

This is a follow up CL for the previous CL [1], which mistakenly put
the initialization code of EditorInfo#locales after return statement.

  [1]: I77db5b99a7cf745d800db75baf135bb60ad04820
       8d6eeb01df72891acd3aa75e64aa1595a41cc96e

With this CL, the IME starts receiving correctly initialized LocaleList
as expected.

Bug: 22859862
Change-Id: I738ffaaf07091d8b980f8bfc6e16227fcb85a96a
core/java/android/widget/TextView.java