Add notification type constants.

Change-Id: I3bafac72744d0e77436324db5aafec965ca2cd45
SMSDispatcher: Add option for sending pseudo-multipart SMSes

Serves as a workaround for devices that are otherwise unable to send
concatenated SMS messages on certain carrier networks, by providing the
option (enabled by the "telephony.sms.pseudo_multipart" property) to send
multipart messages as individual (not concatenated) messages.

For example, parts of Sprint's network hang on receipt of multipart SMSes
on devices (e.g., d2spr) that use the qcom SMSLock method in sending
multiple messages.  That is, the device waits for acknowledgment of the
first PDU before sending subsequent PDUs, while the network (incompatibly)
waits for subsequent PDUs before acknowledging the first.  While sending
the messages individually is suboptimal, it both works reliably and
matches stock ROM behavior.

Change-Id: I1da9d2320780d57b7b6881edb52fb9d7413332ec

Conflicts:
	src/java/com/android/internal/telephony/SMSDispatcher.java
Fix restoring network mode preference on reboot

When a user sets the option to use only 2G networks (for GSM networks) or its
equivalent for CDMA networks, each reboot erases that setting. That forces
the user to re-select the same option after each boot.
This (very simple) patch fixes it.

Ported from CM9:
http://review.cyanogenmod.org/#/c/16245/

Change-Id: I7ec9e155fed9f57934d7a73936f2bf425c8297fe
RIL: Add compatibility with qcom's DSDS

Devices with radio libraries built against a DSDS-enabled qualcomm
BSP (anything in the last 4 or 5 months, apparently) have a slight
incompatibility in the RIL protocol: it expects the first 4 bytes
of the datastream to be the slot's identification (even if the
device isn't dual-SIM). Absence of those 4 bytes will make the
connection hang.

Change-Id: I9f5821add02e7e5b5286c3b0818cb4a94edcc13c
SMSDispatcher: Fix determining the defaultSmsApp for proxied messages

We can't rely on the calling UID, since for re-broadcasted texts that'll
always be the telephony itself; so if called by the framework, use
the sentIntent creator to determine which app originated the message

Change-Id: I60ac02f6ae09f4260f5494659a174352f353aa2a
telephony: do only run setCellInfoListRate for RIL version >= 8
old libraries like those from MR0 don't support this and sending this command causes endless wakelocks

Change-Id: Ia47d366f70841eb9910079e105add407f58e7555