Reconcile with ics-mr1-release

Change-Id: I1382f03a3a050b4a3dc173f63b8dea2be58b10a5
am bada4ddc: Reconcile with ics-mr1-release

* commit 'bada4ddcea0fcba968a1ff31e42342d8a8cceb0a':
Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF)  DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I4d6a48db8ddecb00e0a1daf03a6684c42aac42a0
Reconcile with ics-mr1-release

Change-Id: I668e6055214b59ffb8549d670c40c8cc4a1a9be1
am 6bfcffce: Reconcile with ics-mr1-release

* commit '6bfcffce4417ac01d7ba1bbc6dc98c85bca2dc8a':
am 62aa866e: am 6bfcffce: Reconcile with ics-mr1-release

* commit '62aa866e61551580a6521924a2b9178ba18fdd35':
am e5520ea8: Merge "PinyinIME: Add required library for package"

* commit 'e5520ea84671e907799217315ee3b47130d6e2ce':
  PinyinIME: Add required library for package
am ba0aef21: am e5520ea8: Merge "PinyinIME: Add required library for package"

* commit 'ba0aef21536c993760b884f188f6e801711ebb5a':
  PinyinIME: Add required library for package
Get Vibrator from Context instead of using private API.

Bug: 6334179
Change-Id: I55ee28578ba8ac22168c3578e4888b2235442884
am 5b566bc0: Merge "provent nativeImOpenDecoder from being removed by proguard"

* commit '5b566bc005d14fc083751c9079605a99779dcab2':
  provent nativeImOpenDecoder from being removed by proguard
PinyinIME crashed in userdebug version

The root cause of this issue is nativeImOpenDecoder method
is optimized by JAVA compiler in userdebug version. And JVM could
not find this symbol in the virtual table of PinyinDecoderService
class, and this will cause JNI library load fail.
Solution is avoid this optimization.

Change-Id: I095860c407877ca3b9184cc82fa5c0c0d71302c0
Author: Hongyu Zhang <hongyu.zhang@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 22639
Merge "PinyinIME crashed in userdebug version"
Fix build.

Change-Id: I84d5addf805e5c917dca70ee41a62016fad08411
Now LOCAL_JNI_SHARED_LIBRARIES works for both bundled and unbundled build.

Change-Id: Icbc35630c338ab769209d0de013cad85acb7712e
Merge "Now LOCAL_JNI_SHARED_LIBRARIES works for both bundled and unbundled build."
Using uint32 instead of size_t to parse the Pinyin dictionary

Because size_t is 8 bytes, So we should use uint32 which is 4 bytes to parse the Google
Pinyin dictionary.

Change-Id: I270e8d7fdee5667791a11e36f5de64687d4d0e99
Signed-off-by: jli119X <jianpingx.li@intel.com>
Remove unused LOCAL_LDLIBS.

Change-Id: I784efe5031686ab42072add520d714def0097819
Merge "Remove unused LOCAL_LDLIBS."
Merge "Using uint32 instead of size_t to parse the Pinyin dictionary"
Silence some warnings.

Change-Id: I21793d59a975e1399a079cb5dbac656a6555f250