Fix bug in parsing attributes for MediaRouteButton

Change-Id: Ib61506f7b09b1e043f3f21d2fd46281fbced00f4
When reconnecting disassociate dc and apnContext.

This is done in onActionIntentReconnectAlarm, which is called when
retrying after an error, by setting the ApnContext.DataConnection &
DataConnctionAc to null which intern clears the DataConnection.mApnList.

With the mApnList cleared DataConnection.mRefCount will not be incremented
because the DC will not be found by findReadyDataConnection. Thus fixing
at least one cause of 6529189.

Bug: 6529189
Change-Id: I40ff1966f6fbd2f69e97d77b9db7122e4c5b992f
Preserve retryCount when retrying.

Bug: 6529189
Change-Id: I743aed08aa161d91899aeb2ccacffcd224e48c0a
Merge "Fix bug in parsing attributes for MediaRouteButton" into jb-dev
am 1ab2edbc: Merge "Fix bug in parsing attributes for MediaRouteButton" into jb-dev

* commit '1ab2edbcff94d53856a87010e35ffa50ce4c0502':
  Fix bug in parsing attributes for MediaRouteButton
Changed to obtain a parcel in each notify() call in jni.

Change-Id: I5faf0f5d1fdf76a5b4bd1cff37aa58df79d18e85
related-to-bug: 6785452
Import translations. DO NOT MERGE

Change-Id: I8e0e293c98a3659ef6e9a07c3a62e0056f5ea4cb
Auto-generated-cl: translation import
am 40a4ab13: Import translations. DO NOT MERGE

* commit '40a4ab130a3e3c99afb1a57e9aa30de03a89b51e':
  Import translations. DO NOT MERGE
Replace LruCache implementation for layoutlib. do not merge.

The android version depends on a custom version of LinkedHashMap
which is not present on desktop VMs. This new implementation is done
in a way that minimizes the difference between the two.

Also some minor fixes.

(cherry picked from commit 01b6c755dbcf24e71192dc44757e2eea2a426091)

Change-Id: Idc7bca820e472e281a3024a5b610fd55606cf428
Properly resize paletted bitmaps when adjusting for density

If an app used a GIF file in the wrong density bucket, the auto-scaling
code would not properly resize the bitmap.

This issue affects third party applications, here is the external bug
report:

http://code.google.com/p/android/issues/detail?id=34619

DO NOT MERGE

Change-Id: I7f99b28ad6e6c28bdbcb29bbbadcb215268ff710
am 90752485: Properly resize paletted bitmaps when adjusting for density

* commit '907524851af0d656ba049311f7535a4ba5d2b1d2':
  Properly resize paletted bitmaps when adjusting for density
Doc update: GCM doc cleanup.

Change-Id: Ie84a6ebdd12a05c8dbe1fff97539aea90c93554c
Merge "Doc update: GCM doc cleanup." into jb-dev
am 2a17520f: Merge "Doc update: GCM doc cleanup." into jb-dev

* commit '2a17520fbaf2ca38c04702bacfe443d7a24b4b91':
  Doc update: GCM doc cleanup.
Fix for bug 6716343. Use correct offset for mPos reset. DO NOT MERGE

The mPos field in the MeasuredText object is relative to the start of
the text (mTextStart), but the pos passed in by the caller of the
setPos() method is relative to the character sequence. When spans
overlap break boundaries and the paragraph doesn't start at 0, the
result is an out of bounds error. This fix uses the correct offset.

Change-Id: I64ef06df0eb06f75aedd25de97e9f347eeb52979
Merge "When reconnecting disassociate dc and apnContext." into jb-dev
Merge "Preserve retryCount when retrying." into jb-dev
am e87c71f8: Merge "When reconnecting disassociate dc and apnContext." into jb-dev

* commit 'e87c71f8c1db547831e8f91be765a6eecee27342':
  When reconnecting disassociate dc and apnContext.
am d2246930: Merge "Preserve retryCount when retrying." into jb-dev

* commit 'd22469302707d87ee56d7a30dd8b38e671ee0179':
  Preserve retryCount when retrying.
Remove the unnecssary intent call.

Change-Id: Ia0a460ca8532ccb2f4b0f0205d192b1ba907b5b6