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
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
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0