Telephony (MSIM): Change the code to use @bool/kg_use_all_caps.

Change the to use value from resources @bool/kg_use_all_caps
in MSimCarrierText class to be in line with base class.

Change-Id: I40bf386e867ff6b061008881fa125763b989776c
CRs-Fixed: 587508
Telephony(MSIM): Fix framework dex2oat failure in ART mode.

Remove multisim check from ContextImpl class static initialisation block.
Multisim check calls SystemProperties.get() which invokes a native call
and causes dex2oat compilation to abort when using ART run time.

Change-Id: Idcfe0877162ba38ef7f2c625e8c126f82e13ce2c
CRs-Fixed: 574143
telephony: Cleanup after QCRIL merge

Change-Id: I777818d9034593696bf96ad96048daa0011e9f80

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
MSIM: Fix for 3G symbol not displayed on T+G issue

On a DSDS Tdscdma+Gsm device, when DDS is set to Tdscdma sub,
3G symbol is not getting displayed.
Add code changes to update data icon to 3G for TD_SCDMA network type.

Change-Id: I3efdf1cc474e5b2316757de79200fc59ba196f52
CRs-Fixed: 546652
Telephony(MSIM): Increase the size of cancel button.

The "cancel" button is too small in the enter SIM PIN
interface. Increase the size of cancel button to
make it usable.

Change-Id: Ibc7b327723f2afa75119f6ece190edbaa71fbd0a
CRs-Fixed: 542539
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.

Change-Id: Iabd6269cc23c1e0ebd5fc140fc14c9ec67883148
CRs-Fixed: 356684
SystemUI (MSIM): Fix Airplane mode toggle issue using Quick Access menu.

onAirplaneModeChanged() in QuickSettingsModel class needs to be called from
MSimNetworkController class (for MSIM) to update Airplane widget in Quick
Access menu. Same code is missing in MSimNetworkController class.
Add notifySignalsChangedCallbacks() at MSimNetworkController class.

Change-Id: I214f679b377f26fb58b6165a52c5e12c860f5111
CRs-Fixed: 543170
Keyguard: PIN lock input views flash when SIM status ready

When airplane mode is turned off and DSDS mode is on, cat service
will request RIL to update the SIM card status. When the broadcast
of SIM ready status is received, keyguardview will be reset. So the
PIN lock input view will flash and bring bad user experience.

As there is nothing to update by resetting keyguardview while SIM
is ready. So dismiss the ready status of SIM card.

CRs-Fixed: 537172

Change-Id: I510e8f1e2f08cb946fe47f02b015ae5bf89d5025
Telephony[MSIM]: Change the package name of NumPadKey.

NumPadKey is moved to package "com.android.keyguard".

Change the package name from
"com.android.internal.policy.impl.keyguard.NumPadKey" to
"com.android.keyguard" in layout file.

Change-Id: Id8ec2a5b58b5c0e8bf153e5160091d2a30dedce6
CRs-Fixed: 588162
Remove the incorrect message after 3 wrong PIN attempts

After 3 Fail attempts of SIM PIN entry "Incorrect PUK code"
will not be displayed. Remove logic as it is already present
in AOSP.

Change-Id: Ie83788a420c42e6b9b16fea6d2da155d161defc0
CRs-Fixed: 578936
Telephony: Add support for tune away and priority sub

Add constants for tune away and priority subscription

Change-Id: I790cfdcd9a1dee946502349084a4d8138d2144ec
CRs-fixed: 464483
(cherry picked from commit ebaedd5e9dc33feda0fb0a0c47e204c4efa41873)
(cherry picked from commit 1c534171e946a46c15bfadb5f0732a6b32cc5ec7)
Telephony(MSIM): Add subscription information for the call log

- Add overload function addCall with one more parameter sub
  to support multi sim in call logs.

Change-Id: I5b8e50d7e0c69624be4131d5e2e738b5353f9a1c
systemui: Kill logspam

Change-Id: I79ed31c754861625f1294aab9ac62b980d743e8b
Statusbar(MSIM): Do not display data icon if data is not connected.

When updating the status bar for the WiFi connected status, even if
the mobile data state is in disconnected state, it shows data icon
based on the data network type.
Add code to check if mobile data connected while updating data icon.

Change-Id: I35e80f5073ba24ebbebc354a2b30c62bf660b809
CRs-Fixed: 584106
NetworkController: Hide signal strength icon when no SIM icon is shown

Change-Id: I5c4b43bba1469e14474d20a3627eafa597459e6e
Telephony: Set the value of min match according to one property

CTA requires to match 11 phone numbers, so use the value of the property
"persist.env.c.phone.matchnum" to set it 11 in case of CTA tests, but by
default it is 7 without change.

Change-Id: I8cd4105c06c71af1ad242858d8de474459d96ee1
Ringtone: Add the default ringtone for multi SIMs

The default ringtone is just set for SIM1 at initilization,
so to support multi SIMs ringtones, add the corresponding
configs in Settings provider also.

CRs-fixed: 538916

Change-Id: I11ed845fbd815fd4acd85baf1772218ef971b5f1
Message priority support for 3gpp2

Add support for message priority in 3gpp2
Add new interface API's sendTextMsgWithOptions and
sendMultipartTextMsgWithOptions

Change-Id: I1bf5752eaf8b1acf19fe330d7f409214ee97d3cf
Add support for IP call prefix

Append the user configured IP prefix ahead of the calling number
in case of calling via IP.

CRs-Fixed: 516042

Change-Id: Idf73f06c7030df4124f737433839efddcd089c23
Update for IP call prefix

Get IPCALL_PREFIX number from database instead of string IP_CALL_PREFIX.

Change-Id: Ic1a214a4cc5dee92081f252b5fd00605f9c3606b