commit | e4f01dff49442840faa828dcff0d1583a2e68530 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Tue Aug 12 17:47:40 2014 +0100 |
committer | Narayan Kamath <narayan@google.com> | Thu Aug 14 11:21:21 2014 +0100 |
tree | 4ae1977aedea38e5d6a3073c320fb52713facf85 | |
parent | a4ca9e03c1bbd962bfbcc8993a187c46d3bda3e4 [diff] |
Allow Calendar.getInstance to be called with a null Locale. LocaleData.get was changed to throw for null locales instead of falling back to the default, so we need to adjust callers accordingly. Turns out all other callers would've thrown anyway (for different reasons) so this change makes those exceptions explicit and adds tests for them. bug: 16938922 (cherry picked from commit 148de94b69ad9ed98ebb1adf0e8eb1b1e9e33e1f) Change-Id: Id89961c9b9524776ef13f57d97b2bb73e19b4eb1