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
SystemUI: Add task manager

Add a button in status bar expanded header to switch to task manager,
which supports to watch current running tasks and usage of memory, also
supports to close one or all of running tasks.

Conflicts:
        packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: Ica51961bfac78580eac085c18eb42f91a84efc95
AppOps: add Chinese support for AppOps popup dialog

Add Chinese support for AppOps popup dialog.

Conflicts:
        core/res/res/values-zh-rCN/strings.xml

Change-Id: I2ac3664640d1adba2e1b14016856f36d50eb2ed3
audio: Add support for compress voip

- Add support for compress voip where voip
  driver is used instead of audio playback
  or record path.

Conflicts:
        core/jni/android_media_AudioRecord.cpp

Change-Id: I3c9e53004c1d22435e2060b4c3563a3c219b8720
PhoneWindowManager: Changes for WFD.

- WFD now sends WIFI_DISPLAY_VIDEO intent to set UI orientation.
- PhoneWindowManager to listen for WFD intents.
- Display on WFD should be same as seen on the HDMI, so set the
  orientation to HDMI orientation

Conflicts:
core/java/android/content/Intent.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I446ab768200f9b9f59759e52071bcaca7d6f836c
framework: update WFD session orientation based on UIBC rotation

User Input Back Channel (UIBC) support in Wifi Display stack
allows the sink to send control/commands/preferences to the source
e.g. touch, keyboard/mouse entry, or orientation/rotation.

PhoneWindowManager needs to listen for UIBC rotation
intents and update the preferred rotation when WFD is active.

Note: HDMI rotation lock overrides WiFi Display UIBC rotation.

Change-Id: I1869b21c3c03b5b36c5381933b50dfbfeca88db6
Conflicts:
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java