Cleanup some CAF code.

Instead of exposing the concept of supplementary service notifications
to InCallUI (and then not using it), convert the respective
notifications into boolean flags.

Change-Id: I0b72c3efdccb4aa163e27fb0205b939c32d7a184
Phone: Fix forced closure when change language during adding SIP account

Phone will force close when you change system language
during adding a SIP account and then save it.

Make sure mSipProfileList is not null before
addProfile(profile) beginning.

CRs-fixed: 549841

Change-Id: Id1320e68bfc617dbefdacc32c94cbe3761822e3b
Add reverse lookup provider "Das Telefonbuch" (DE).

Change-Id: Ic3b5197bb7d6d2955ada9f3d902decff088433ec
Phone: PIN2 shouldn't be seen when make passwords invisible

Since the attribute android:imeOptions is set to actionDone,
and as the result after rotating the phone, the EditText become
full screen, and the content of EditText can be seen.

Change the attribute android:imeOptions to flagNoFullscreen.

CRs-Fixed: 426558

Change-Id: Id1a7106c32d46a89e1332114143cad470050dd3c
Phone: It should stay at Sip account details interface after unlock phone

When the SipEditor was paused, it auto save the editing Sip account
and finish the Sip account details interface.

Don't finish the Sip account details interface when the SipEditor
paused, then make sure it can stay at Sip account details interface
after unlock phone.

CRs-Fixed: 424610

Change-Id: I2f6c9eb85ed57531338fd88ffec7de2c8d2f6a21
Phone: Prompt port number invalid when the port number length too long

The number format exception occurs if the length of the port
number is too long, but it does not catch this exception,
so the phone force closed.

Add the handle of number format exception, then show a alert dialog.

CRs-Fixed: 412220

Change-Id: I3c37e4d19ce6f50bb4820716c8d7533e43c7cfc9
Phone: Add one dialog to prompt the SIM is turned off

If aiplane mode is on, add a dialog to prompt SIM is turned off
when call.
Taped positive button can turn off airplane mode and then call out.

Change-Id: I8fdd4d4db657b49a89730a23d75e836fcc86438e
Phone: Disbale the network item and update the titile

Disbale the network item and update the titile when the network is forbidden

CRs-Fixed: 522564

Change-Id: I13a788dd918356e6fc0dd76ef28db197a8a6f7cd
Settings: DUT can register on a forbidden network operator

In NetworkSetting.java, when networksListLoaded() is called,
it disabled the FORBIDDEN Preferences. But when tap the
available one to register it done, the FORBIDDEN Preferences
will be enabled again by invalidate() operation.

After selection operation is done, we should disable FORBIDDEN
preferences again when receive an EVENT_NETWORK_SELECTION_DONE
message in NetworkSetting.java.

CRs-Fixed: 529690

Change-Id: Ie27823f5165882102e206107a21357d7482f5d2c
Phone: Removing the unreachable call forward option

Some carriers require to remove the  unreachable
call forward option in GSM mode.

Change-Id: I18b782fe83256dcf57956b23e11cdf478a48979e
Phone: The option should be clickable after pressing OK

If there's something wrong with the setting, it will return
response error and set the preference unable.

Don't set the preference unable when it returns error.

CRs-Fixed: 402479

Change-Id: I3ce8aef17ce11fbaec64d01cbbc5b00ea7efe3e7
TeleService: Prompt user the fixed dialing number can’t be empty

It does not check if the fixed dialing number is null or not,
so it also can be saved as FDN when the fixed dialing number is null.

When the number is null, we do not save it as FDN, and show a toast
to prompt user the fixed dialing number can’t be empty.

CRs-Fixed: 522515

Change-Id: I0a78be0657cdd35ed00058bb825d2e077f52b471
Automatic translation import

Change-Id: Iceea5b948b9d5beb1d0e6c6ff0b376afa4d97217
Merge "Add reverse lookup provider "Das Telefonbuch" (DE)." into cm-11.0
Merge "Cleanup some CAF code." into cm-11.0
Revert "Make incoming call screen style configurable (3/3)"

This reverts commit c3a33dc634d859bee093f47f000047fe6a1e07b1.
[2/3] Telephony: Flip to Mute/Reject Call

Call Settings - add menu entry

PS2 - PS4: Code Cleanup

Base: https://gerrit.omnirom.org/#/c/4668/
InCallUI: https://gerrit.omnirom.org/#/c/4669/

Change-Id: Ic011c5b9e10439fc900b1302f7e07dde494b2e5b

Conflicts:
	res/values/custom_strings.xml
	src/com/android/phone/CallFeaturesSetting.java

Telephony: fix Flip to mute/silent

maybe fix http://jira.omnirom.org/browse/OMNI-412

Change-Id: Ie12ff6aab6ffdaf8638e0ac39f3911f7ecb8793c

Conflicts:
	src/com/android/phone/CallFeaturesSetting.java
[2/3] Telephony: Incoming Call in Background

Patch ported from 4.2 which was done by our lovely HCP. A
very popular one so we bring it back and adapt it to 4.4

Allows user to set that Incoming Call UI will remain in background
if screen is on. Instead, a notification is added to StatusBar, which
can be used to bring up the Incoming Call UI. Ringtone and vibration
still occur as per system settings.

This has the same effect as apps marked as "immersive". It prevents
the incoming call from backgrounding the current activity.

PS: reorder settings a bit

Change-Id: I159bd817ebcc39a0733f9433feb29b310adbc2aa

Conflicts:
	src/com/android/phone/CallFeaturesSetting.java
Telephony: RU translation
[3/3] Telephony: Add Google Reverse Lookup