Backport BreakIterator::refreshInputText to icu4c 4.8.

Corresponds to these two patches:

1. http://bugs.icu-project.org/trac/changeset/30145
2. http://bugs.icu-project.org/trac/changeset/30201

For icu4c bug http://bugs.icu-project.org/trac/ticket/8490.

(cherry-pick of 0745c569f807bddcfc8d9f21eba504955fcdba98.)

Bug: 7288264
Bug: 7307154
Change-Id: I2626562e63f912ed8f72adcc743882f6c8ee1a04
Backport BreakIterator::refreshInputText to icu4c 4.8.

Corresponds to these two patches:

1. http://bugs.icu-project.org/trac/changeset/30145
2. http://bugs.icu-project.org/trac/changeset/30201

For icu4c bug http://bugs.icu-project.org/trac/ticket/8490.

(cherry-pick of 0745c569f807bddcfc8d9f21eba504955fcdba98.)

Bug: 7288264
Bug: 7307154
Change-Id: Ice80d53c2f5722bb24ad841a943252b41b97cfa6
Merge "Backport BreakIterator::refreshInputText to icu4c 4.8."
am 28f7510d: Merge "Backport BreakIterator::refreshInputText to icu4c 4.8."

* commit '28f7510d57a1cf90484b0b364b2fca8a596f2f07':
  Backport BreakIterator::refreshInputText to icu4c 4.8.
am 31315bc7: am 28f7510d: Merge "Backport BreakIterator::refreshInputText to icu4c 4.8."

* commit '31315bc7a9f2672f87f2f7c7c7611c88e447a43a':
  Backport BreakIterator::refreshInputText to icu4c 4.8.
ICU 49.2upgrade

Change-Id: I705171a5bc504eff8430f6fd02460aa47e04791a
ICU 49.2upgrade

(cherry-pick of 83a171d1a62abf406f7f44ae671823d5ec20db7d.)

Change-Id: I2f0f13293d9f47b4605c4ac173d1096dce2b8eb4
Merge "ICU 49.2upgrade"
am a65434f3: Merge "ICU 49.2upgrade"

* commit 'a65434f302345a071e89b03d03c9effd8ded7855':
  ICU 49.2upgrade
Clean up some of the Android icu4c hacks.

We don't need the ustr_wcs.cpp hack: bionic's stdlib.h contains
the same #define.

We don't need the digitlst.cpp hack: we can just modify the makefile
so we can use stlport.

We don't need most of the putil.cpp hacks, and the two we do need can
be done in the makefile.

Change-Id: If67d307688347f9c04febed3ecfe6f36b7effc9d
Merge "Clean up some of the Android icu4c hacks."
am 7fec1b73: Merge "Clean up some of the Android icu4c hacks."

* commit '7fec1b7373f2af22744e8cf0b1a93636f13f0331':
  Clean up some of the Android icu4c hacks.
Remove ubrk_setText hack.

This was to work around a bug in WebKit. Newer WebKit releases don't
have this bug (fixed by http://trac.webkit.org/changeset/109144), and
our ancient external/webkit doesn't have it either --- both calls to
ubrk_setText come after a null check.

I tested with the HTML in the bug shown in a WebView, with and without
this patch.

Bug: http://bugs.icu-project.org/trac/ticket/9115
Bug: http://code.google.com/p/chromium/issues/detail?id=95486
Change-Id: I7b8dc38f933eff124af02cb911e188aaac046554
Merge "Remove ubrk_setText hack."
am 95671212: Merge "Remove ubrk_setText hack."

* commit '95671212ef7b3746beb509d9df9a33cfa8c6db37':
  Remove ubrk_setText hack.
Fix transliteration.

Change-Id: If1c50a5dbb9b04e38c7c6159b17c5d14110af60c
Merge "Fix transliteration."
am af4de4d5: Merge "Fix transliteration."

# Via Elliott Hughes (1) and Gerrit Code Review (1)
* commit 'af4de4d5f5e4c1c0f93b32d8908dca26a52325ab':
  Fix transliteration.
ICU 50.1 upgrade for Android.

Change-Id: I64c221c532f4c23969b5d6a4c7387864c5ebf2e4
Merge "ICU 50.1 upgrade for Android."