usb: Show notification in 'charging only' mode.

Show correct notification in 'charging only' mode.

Change-Id: I93a04efe52e8280da95438ceb02b4054610a4d6e
USB: Don't add adb function when usb disconnected

When USB is disconnected, "adb" functions will be added even in
"charging" mode. This breaks "charging" mode's design.

Change-Id: I7ab62194a0acb97620e33da4839e0f6c87f60917
ShutdownThread: Add hook to call into oem shutdown function

We now invoke a oem specific function as part of the device shutdown.

Change-Id: I71643064130c606562ad21f61db937b508d43f41
IMS: Conference URI support.

Add Telephony Property PROPERTY_DBG_IMS_VOLTE_ENABLE,
extras EXTRAS_IS_CONFERENCE_URI, EXTRA_DIAL_CONFERENCE_URI
which will require by Telecomm, TeleService, Telephony
Framework, IMS framework etc.

CRs-Fixed: 713839
Change-Id: I2040bd040a46f7f416b3689cf87b351530f8e293
IMS: CallForward Unconditional Timer

1) Added new API for callforward
   unconditional timer in aidl file.
2) Added new flag members in ImsCallForwardInfo,
   which has been defined in proto file.

Change-Id: Ie4b79dd2cd47b8042ff588b0f3ddfd7e72a7aab0
CRs-Fixed: 689110
Add screenshot for LogSystem.

The LogSystem can use VolumeUp+Power key to capture the screenshot
to get more useful information for developer to analyse.

Change-Id: Iabca0b59aac832b1698f06c89a8782c76fbc598a
Add support for icc operator numeric

Change-Id: I55dd21a473827b8a7dc5e6ccba21ceb626403b0b
CRs-Fixed: 727780
Telephony: Do not display the data icon if data is not connected

When updating the status bar for the bluetooth reverse tether
connected status, even if the mobile data state is in
disconnected state, and it shows the data icon based on the
data network type.
Changes made to check the mobile data connected condition while
updating the data icon.

CRs-Fixed: 356684
cherry picked from commit Iabd6269cc23c1e0ebd5fc140fc14c9ec67883148

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java

Change-Id: Id52bd04340ebafb6206162a5808e0f7d3e8e0d75
Display Supplementary Service Notification

New interface added to support supplementary service notification
messages.

Conflicts:
telecomm/java/android/telecom/Connection.java
telecomm/java/android/telecom/ConnectionService.java
telecomm/java/android/telecom/ParcelableCall.java
Change-Id: I13dc423873e474b87f614ee2473bd997d6d48ffc
Telephony: Do not send Radio Power Off on SIM_RESET

Changes made to not to send radio power off during refresh app
reset.

CRs-Fixed: 441924

Conflicts:
	core/res/res/values/symbols.xml

Change-Id: I83b7063a86ce9b380c7aeb0c140a4967d205d93b
MSIM support for Statusbar.

-Add support for Signal Strength icon display for MultiSim

Display dual subscription info in notification panel
  -Show subscription information for both subscriptions
   relevant to the sim state. if sim state is ready show
   operator name, if card absent, show no sim message,
   if UE is in airplane mode, show airplane mode message.

Clear data activity icon when disconnected
  -If data is disconnected before data activity becomes none,
   then clear up/down arrow icon by reset the data activity icon.

Add support for ro.config.combined_signal
  -Add support for ro.config.combined_signal. This property is being used
   to consider data service state for signal display.
   When ro.config.combined_signal is not set to false, we will display
   CS/PS signal strength whichever is available

Conflicts:
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkControllerImpl.java
Change-Id: Iebc9f49334a8a3cf469ea2624f0e1d6eb50b63bc
Telephony: Add ME Depersonalization support

Add support for all ME De-Personalizations as per specs
3GPP2 C.S0068-0 and 3GPP TS 22.022.

CRs-fixed: 467276
Change-Id: Iba74e3e5eb4fe96361585f4933897c5c8f17db97
replace DEFAULT_SUBSCRIPTION

Change-Id: Idb48bf3e3103d2d1c4b0439135f8d51479ab0c02
Add TD_SCDMA handling in statusbar

On multisim, TD_SCDMA RAT is missing in updateDataNetType method.
Due to this, no data icon is displayed for TD_SCDMA.

Change-Id: I7a3f2e35257841d43ef34c1d6f4655a417bbd2c0
Bluetooth: Adding support to get remote DI record

Adding support to get remote DI record. The local
device can use the Device ID service record from
the remote device, In order to make best use of the
features on the device identified.

Conflicts:
        core/java/android/bluetooth/BluetoothDevice.java

Change-Id: I0349e3bfb2514400a32b099fc806c1fb6f8cd714
CRs-Fixed: 692532
Bluetooth: Add trust device feature.

Add set trust feature where the remote device is marked
as a trusted device for subsequent connection.

CRs-fixed: 523135

Conflicts:
        core/java/android/bluetooth/BluetoothDevice.java

Change-Id: I9bde4d7dfe07d9d63b58a661ed2413f45501bd7b
Fix SystemUi crash

Fix SystemUi crash by handling unknown phoneId

Change-Id: I768e34f0bc2652b782e3f7316e1dcd0e0bafbee3
CRs-Fixed: 724359
Add background app limit tunable.

Set MAX_CACHED_APPS based on a system property "ro.sys.fw.bg_apps_limit"
so that number of background apps can be tuned accordingly.

Conflicts:
        services/core/java/com/android/server/am/ProcessList.java

Change-Id: Ie21b0961dad10e1cd6da3cfe2a45eff45dc8756d
Add WiFi handler support for MSIM.

Create Wifi handlers for MSIM.

Change-Id: Ic0f371f51676e12033c6e72318d2721295b29846
CRs-Fixed: 718718
SystemUI: Add four switches in quick settings

Roaming switch: add global roaming switch in quick settings.
Data switch: support to turn data on/off from quick settings.
APN switch: Add an switch into quick setting view to select APN.
Dds switch: Switch data sub when clicking the shortcut no matter
mobile data is on or off.

Conflicts:
        packages/SystemUI/res/values/config.xml

Change-Id: I2ffb635a9d1f46aa82cc216b545205b2e891a020