Add change to show Invalid card when erroneous card is inserted.

Add change to show "Invalid card" on UI on CARD_IO_ERROR when
erroneous SIM card is inserted

Change-Id: I94c52ff462c999cdb8dbe742fa0bd3f1019ce335
CRs-Fixed: 715101
platform/framework/base: Fix Half Blank screen issue in Wallpaper

Issue: Start Any Full Screen Activity/ VideoView Activity in
       portrait mode, change to landscape mode and then perform
       suspend and resume. Only Half of the screen has display,
       the other half is blank screen

Fix: Added a check to update surface size on both rotation change
     and surface size change.

Change-Id: Iba77dfdb778ea3c60bbb1df33188fd4f792ab77c
CRs-Fixed: 712741
NFC: Add interface for offhost to associate to secure element

Add an interface for payment application to specify secure element, so
multiple secure elements are supported through Tap&Pay menu

Change-Id: If1548e12ccf5b06f032f5725315ad726a88d9002
CRs-Fixed: 744072
Modify isRoaming to getRoaming from Service state tracker.

Modify isRoaming method to getRoaming from Service state tracker
instead of phone object.

CRs-Fixed: 739327

Change-Id: I4ca0f6df65f38a3a0d64fde647fb8506347414c1
IMS-VT: Peer capabilities support

Add support for querying peer capabilities

Change-Id: Ibfc0f2d4864cb743acc0b7f12aa8ef3e7f41c979
AGPS: Support basic AGPS configurations by user.

1. Add the function for user to config SUPL host and port.
2. User can set position mode for AGPS
3. When in roaming status, user can stop AGPS automatically.
4. User can set the start mode for cold, warm, hot. It will
clean the xtra info when starting in cold mode.

The first two features are controlled by resource
assisted_gps_configurable_list. If carrier open it in overlay,
these two functions can work.

Change-Id: I1e524c4cbf9da8a2535758aee79d62eeafa64808
Download: use "control" column to mark paused/resumed status

Before, column "status" is directly updated when user pauses/resumes
download, this causes status shown to user is not same as real status
because pausing/resuming needs a little time not instantly, and then
causes some status error.

The column "control" is updated instead of "status". When user pauses
download, will update "control" as CONTROL_PAUSED and set "status" as
STATUS_PAUSED_BY_APP until pausing operation is finished; and when
user resumes download, will update "control" as CONTROL_RUN and change
the status as STATUS_RUNNING until DownloadThread is started to run.
Then the status shown to user will be same with real download status.

Change-Id: I2204b972d24b809f7914b0981cad11e9175f4ae6
CRs-Fixed: 737182
androidfw: Use the last package to create idmap.

Overlaid packages contain one or two package groups, the first one is system
package(android), and the second one is application package. So it should use
the last package group to create idmap.

When inspecting the idmap, similar as above.

Change-Id: I97e0179bc5b5acdcacbe6ec5b5b7c22af51d1d0b
MSIM: Retrieve the QS Data icon through PhoneId

While updating the quick settings data icon,
use Msim API to get the icon.

Change-Id: I6d106e2d03c92eabb7be92f0cf1957489beca0fe
CRs-Fixed: 743707
Telepony: Update data icon when sim removed(CDMA)

When sim is removed in CDMA and data camped,
data icons should be updated.

CRs-Fixed: 733233

Change-Id: I01ba6d3060af98120966cafdad03a4288cbe3580
IMS-VT: Modification of data usage aidl

Change data usage aidl interface to take parameter type long
instead of int

CRs-Fixed: 747694

Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc
audio: fix unresolved link error for javadoc

- Remove @link comments for extended audio
  formats to fix unresolved link error while
  compiling Javadoc
- These extended audio formats are not standard
  AOSP definition and should not be updated for
  javadoc

Change-Id: I34fec0d9709a7def0f92660b6ec0a8e971529161
Regional: Customize emergency button

-Customize emergency call button shown on the lock screen.

Change-Id: Ibbb3fc545e472070f03c43d5072af205517f249a
SystemUI: Add default 2G signal strength icons

There are no default 2G signal strength icons. As a result,
can not display signal icon when register to 2G net.

Add default 2G signal strength icons.

CRs-Fixed: 742910

Change-Id: I1dde32c5b6fd8bb34db0e537b8948ae4ed2d1cc4
DocumentsUI: Fix download status was displayed incompletely

The layout arrangement of date, size and summary are unreasonable.
Text was ellipsized when summary has too much characters.

Reconfigure "layout_weight" of date, size and summary can fix this
issue.

CRs-Fixed: 619201

Change-Id: Ic2db20a303dd1db7e2d3375e4b733d704daf393b
USB: AppOps: always show "USB connection" when usb connected

If no mode is choosen, "USB computer connection" will be hidden.
Unfortunately, there is no default mode, so users can't find it
by drag down statusbar. For better user experience, we export it
to users when usb connected.

Change-Id: I486e1a012f12f81f5a79d5f3686db58f980c0890
frameworks/base: Reginal requirement for RTL

Improve resolution of RTL

Allow system apps support RTL with a low target sdk version.
Fix RTL bugs for TextView, GridView, etc.

Change-Id: I1ff4127f103f65f333195803bc7088e561719f6f
Regional: Customize features for regional package

-Customize default Date&Time display format.
-Customize mock and Dock on or off for carrier.
-Customize accessibility on or off for carrier.
-Customize default input method.
-Customize default enable data roaming or not.
-Customize default enable mobile data or not.
-Customize default network.

Change-Id: I3a74d0113d6b730c4d7935aaa2da307ebe500566
Support password input style of 10 times countdown

Change-Id: I9ba7cd46cb63d447a357783f68854c72cab04c38
Regional: Customize hyphen feature

-Customize hyphen feature for contacts and phone number.

Change-Id: I649337a1bb28324650e3c576706630e0a420c477