Bluetooth: SAP: Add SAP profile support in Settings APP

This change consists of:,
 16 digit Authentication
 SAP profile connection status changes
 SAP Disconnect from server related changes

Change-Id: I57870a75c30e03b3c244d56e9b55a1367490bfc9
Bluetooth: DUN: Add DUN profile support in Settings APP

It registers service listener for DUN profile with the
BT adapter, and it will track the profile status with
the service listener state chnages.

It also has support for DUN profile connection status
updation and DUN Disconnection from server.

Change-Id: I83d4919821cb095429ff7e73a8974d92c4df086c
Czech translation update

Change-Id: Ie6dac83f0574b37a05d4457bbf1014b58ae9d7ab
Signed-off-by: kecinzer <kecinzer@gmail.com>
Apn settings fixes / code maintainence

Depends on : http://review.cyanogenmod.com/#change,13743

Cleanup unecessary resources and use global ones
  - This fixes the duplicate id issue currently causing apn's to be un-editable

Bring the ui aspect of the preference up to speed with ics
 - Use ics highlight / layout...etc
 - Use fragments

Patchset 5 : Remove theme for ApnEditor
             Use static access for variables
Patchset 6 : Launch apn editor internally as a fragment
	     Replace deprecated managedQuery with CursorLoader

Change-Id: I069415b29846f30665ce76e52f04115d1b65e455
add MVNO field for APN Editor

For MVNO, add related data fields.

Bug: 8143480
Change-Id: Idfa06c6f39a2c15ff4f0815724823f44b76ac819
pre-provide the mvno data of the edited apn

For mvno, user can add or edit mvno data field.
Pre-provide the mvno data of the edited apn when the user selects
one of the mvno types.
For example if user choose gid, populate the data field with the
current sim's gid1 data, or if user choose the SPN option, fill
in data with the current carrier string. If IMSI, fill in imsi data.

Change-Id: I1bc280054cc7cd37e78a279866cefd62872a19fb
Settings: fix bug where user cannot uninstall launchers

This will fix the case where 3rd party launchers have both buttons
 "Force Stop" and "Uninstall" disabled.

Now, allow 3rd party launchers to be uninstalled or disabled. And
 allow system launchers to be disabled. Except when we detect only 1
installed launcher(system or app), then do not allow uninstallation or
disabling of the app to make sure there is always a launcher available.

Change-Id: I8cde7fd508fa16928e68e093141f7007ac6cd700
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Merge "Apn settings fixes / code maintainence" into jb-mr2
Merge "add MVNO field for APN Editor" into jb-mr2
Merge "pre-provide the mvno data of the edited apn" into jb-mr2
Settings - add an AlertDialog before to delete APN to avoid fails

patch 1: fix blank space
patch 2: remove FR translation and change NegativeButton string
patch 3: improve the NegativeButton (thank you, David)
patch 4: remove create()

Change-Id: I3361d4160a7e1c4eaee094f08c7d212f71e9e0e7

Conflicts:
	res/values/cm_strings.xml

Conflicts:
	res/values/strings.xml

Change-Id: Ic6e82f10d8e2290aee6542b3d957c2832b622863
Settings:PIN/PUK Lock and Status

- Added support for RUIM PIN locking
- Display message to indicate PIN/PUK status changes
Changes done to display retry counter on wrong entry of PIN1,
and message to indicate PIN1 enable/disable as per certain
carrier requirements.
- Process NOT_SUPPORTED response for pin lock checkbox
If RIL replies with REQUEST_NOT_SUPPORTED
when trying to enable or disable pin lock
process such response and display appropriate message.
-For some cards, ICC LOCK should be enabled
to change the password. In this case RIL_E_REQUEST_NOT_SUPPORTED
should be sent by RIL. On receiving this message
the Settings app should display Enable ICC LOCK message.
-Don't assume that the exception returned on a PIN operation
is a CommandException. Handle other types as well, like
RuntimeException
CRs-Fixed: 222544, 181380, 181401, 229819, 246807, 249863, 337001, 441001

Change-Id: I142137e44cc11a8a5d42b0e458d5654422c4c630
Apn Settings : Fix panel title

Show appropriate apn editor title

Change-Id: I1f9dbce5dbf464db79d7c2fbedb8f833e4b46468
Telephony: Use new apn.sim.operator_numeric property

Use new property to filter apns. We need this new property
because icc.operator_numeric property is also used in cdma
and ApnSetting UI might display wrong set of apns if the
peroperty value used was set by RuimRecords.
CRs-Fixed: 362846

Change-Id: Ie740c9b3bb6a14621e19c55e4fa18c66bc0d7b0c
Telephony: Avoid list of Apns in ApnSettingsMenu

Don't display any Apns in the ApnSettingsMenu when
getOperatorNumericSelection returns empty
CRs-fixed: 486026

Change-Id: I8f425e75c995f9825905983dc1bdc94f15f2054e
Settings(MSIM): Add support for MSIM

Add Multi SIM Settings screen in UI which is used to select
Voice, SMS, Data preferences.
Extend APN Settings, Security Settings, Wireless Settings
for MSIM.

Change-Id: I84abe80f20de2415ff819c7250ef0a0799662b52
Settings(MSIM): Extend CB "Operator info" feature to MSIM.

1) Add SUB information while broadcasting CB intent for MSIM.
2) Remove country specific checks for cellbroadcast Operator
   info for MSIM.
3) Move Operator info to About phone->Status->SelectSubscription
   ->SUB1/SUB2->Operator info in MSIM

Change-Id: Idb6a2e3aac2a30528740729ea9e5b941bc495083
CRs-fixed: 498245
Telephony(MSIM): Add prompt support for SMS

1) Add prompt option in SMS multi sim settings.
2) New iterface API to get SMS prompt is enabled or not.
3) Disply prompt while sending SMS, if user selects
   prompt mode in multi sim settings.
CRs-fixed: 474694

Change-Id: I0b46dc05c50ca69a806613ecf2c5eae3964f043f
DSDS: Subscription specific for Mobile data, roaming and usage

1. Provide per subscription based support for both Mobile Data
   and Data roaming options. UI and functionality changes in:
   a. Settings -> Data Usage application
   b. Settings -> Mobile Networks menu

2. Provide per subscription based data usage information. UI and
   functionality changes in Settings -> Data Usage application.
CRs-Fixed: 503932

Change-Id: I8e0088dd5cb3de63f880ef02a9cf125f0d986009
Settings(DSDS): Add TuneAway and PrioritySub to MultiSimSettings

1. Add support for TuneAway and PrioritySub UI options in
MultiSimSettings
2. Add setDefaultVoiceSub, setTuneAway and setPrioritySub
OEM HOOK requests in OSS space
CRs-fixed: 464483

Change-Id: I3b1bc4ed98b3ed7b280938878ba9d7bdb244fcf9