Add config to send SMS on 1x

When UE is attached to eHRPD network, IMS is registered and
there is an active 1xRTT voice call, the config determines
whether to send SMS over 1x. Default value is true

Change-Id: Ie4e00eb57ef439e9383c616cd1b60108bcfd505f
CRs-Fixed: 565247
Mms: Add configuration for sending and receiving Mms with data disabled

Use framework resource to config the feature that sending and receiving
Mms when data disabled.

Change-Id: I96362a66aea228afd3033cdf9343468a6d3ffa83
Telephony: Add 7bit Ascii support for long messages

Add config item for 7bit Ascii encoding and decoding
support for long messages

Change-Id: I54080a5c63fd2dc470f38edeffbe58729c22adf9
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
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
audio: Set slient persist property according to ringer mode

Update the persist.sys.silent property when setting ringer mode.
This property could be used by the native layer application.
Example:
Bootanimation could check this property to decide whether
background music is needed.

Change-Id: I64311fcac9d4c3729b38fc2b597dc478d6de4d7c
Audio: Fix title of system ringtone contains messy meta

Title in the Meta information of Bootest.ogg contains
junk characters which is displayed in Settings->Sound-
>Phone ringtones.

Correct the binary file to solve this issue.

Change-Id: I91c0519bb55ee5e74f783b0c147acbde641f6502
CRs-Fixed: 569976
AudioService: add STREAM_DTMF to stream affected by ringer mode

-STREAM_DTMF volume muted when phone in vibration or silence
 mode but will not restore when back to normal mode by setting
 STREAM_RING volume to 1
-Add STREAM_DTMF to the list of stream volume affected by ringer
 mode

Change-Id: Ib91d6b2c09e10b5cd86ae192cf334c69884da294
CRs-Fixed: 549908
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