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
Lockscreen: Add chinese string for airplane mode

There is no chinese string resource for lockscreen_airplane_mode_on.

Define the chinese string for airplane mode.

CRs-Fixed: 561393

Change-Id: I59d2fd42f8b3140a934614a4977dc7ade0332c6d
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
Contacts: add the local group info and API

- add the group API for app to get/change group info
- add the group constants for app to acess the group
  database.

Change-Id: I205383ea3983675594f8fe414c466e7e55c6433e
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
Fix null pointer exception in PhoneWindowManager

mKeyguardDelegate is null and is causing fatal exception

Change-Id: Iae14b969b7ff9ab0003e615f2f82eaac65a77985
Telephony: Modify code to check PUK code length is always 8.

As per 3GPP TS 31.101 Release 11 section 9.6, the number of digits
for UNBLOCK PIN (PUK) is always 8.

CRs-Fixed: 596207

Change-Id: I55dc9f0a701410d8405026e625a5f2a98a9f712c
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