OSDN Git Service

Make InputFilter.AllCaps constructor reject null locales
authorRoozbeh Pournader <roozbeh@google.com>
Wed, 2 Aug 2017 02:30:28 +0000 (19:30 -0700)
committerRoozbeh Pournader <roozbeh@google.com>
Wed, 2 Aug 2017 17:37:07 +0000 (10:37 -0700)
commit4e5e15a6ea116ec5ca2ef83dde4f45cda2f52419
treecb5e07f091b8611c9345ea0240f55a0de849cc19
parent0a0bc5f89df11ef4a32268cc22c0933ac46c0654
Make InputFilter.AllCaps constructor reject null locales

In I021ff2a97a60396fb1b6e4940d91d3cd6ccb6196, new API for
InputFilter.AllCaps was added. It accepted null as input. This CL
changes that so null locales would be rejected.

Test: bit CtsTextTestCases:android.text.cts.InputFilter_AllCapsTest
Fixes: 64261334
Bug: 37222101

Change-Id: Ic87942c3f341f71bc3c1c833b52ea3e751461e47
core/java/android/text/InputFilter.java