CdmaLteServiceStateTracker: simultaneous voice and data support on CDMA (e.g: SVDO)

Forward port from CM9 commit I246fe1f609f494006dfa6e98589a62cb859146a4

Change-Id: Ife6fdf67931b48863dea8ced90d6898318249907
Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>
CdmaLteServiceStateTracker: fix breakage

Change-Id: I81274b2363b74de5976cff224292427354651b34
fix sms receiving for some Samsung CDMA phones

cherry-picked from ICS branch, with addition of bool
to core/res/res/values/public.xml for jellybean

Change-Id: I4639b10e5d1c512135572807f9430e81b6b8869b
Hack to prevent network SIM unlock PIM popup

Change-Id: I4a0d416cdc2ae4e48389d172199a99dc5dce1c7b
Signed-off-by: dhacker29 <davidhackerdvm@gmail.com>
Poll for DATA_REGISTRATION_STATE on SVDO devices (3G icon fix).

When both voice and data are active, SVDO devices return
RADIO_TECHNOLOGY_1xRTT for VOICE_REGISTRATION_STATE, and
RADIO_TECHNOLOGY_EVDO_A (or equivalent) for DATA_REGISTRATION_STATE.  So
both states must be polled to determine "which" radio technology is in use
(although they technically both are).  Otherwise only 1xRTT is reported.

Note: This bug was masked for a while as the PREFERRED_NETWORK_MODE
defaults to NETWORK_MODE_GLOBAL in PhoneFactory, which is another,
preexisting circumstance for polling DATA_REGISTRATION_STATE.  Thus, the
bug would trigger upon opening "Mobile network setings", when the radio is
queried for its PREFERRED_NETWORK_TYPE the first time.

Change-Id: I80456a7a1f2136a2ee68b54137dbafd4db8e202b
bootanimation: allow using RGB565 instead of ARGB8888

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b
SearchWidget: passing APP_DATA to voice intent (from ics)

ics: http://review.cyanogenmod.com/#/c/17826/1

SearchView uses SearchManager.APP_DATA to pass data between the origin activity
and the search activity. This works for text searches (keyboard), but it's not
implemented by voice recognition searches. The method createVoiceAppSearchIntent
initializes a empty bundle that is filled with the QUERY parameter.
This patch adds the SearchManager.APP_DATA parameter if is present, let the
search activity access to the data passed by the origin activity

Change-Id: I2d0d853b69b36aa4e52f3cd49b4364f5fbb5ab93
HTCQualcommRIL: responseIccCardStatus: add subscriptionFromSource feature.
Configure subscriptionFromSource quirk using needsOldRilFeature to ifdef tEh javaz for CDMA + LTE support.

Our RIL supports RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE and RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE.
These are used to determine desired subscription source on the fly.

Change-Id: Ife3b3413605e26efd8c1ba8af66cc0eea76072cb
resume: fix recents showing up when waking the device with the home button

The previous fix, resolved the problem most of the time, but the home
long press would still happen once in a while during resume from RAM.

This is probably still somewhat dependent on timing but the notifyKey
runs immediately first thing after resume, so this fix should solve the
problem completely and it should be enough.

Signed-off-by: Andrea Arcangeli <andrea@cpushare.com>
RIL: fix protocol mismatch for DataConnectionState_v4

The apn got dropped in DataConnectionState v4.

Avoids UnknownHostExceptions in DataCallState.setLinkProperties().

Change-Id: Icd0a1ba1c77cead13b15b3749965edead5f59135
SamsungCDMAQualcommRIL: Update misleading comments.

	- Explain purpose of extension.

Change-Id: If1ee332967823f280d97e67f7ed0b5aff9614777