Use custom notification from contact if available.

Signed-off-by: scotthartbti <scott.hart.bti@gmail.com>

Change-Id: I89d5ccde3be364a91a0e587d5c4117ffdf5f33fb
Remove DEBUG to avoid to run checking at every turn

Needn't to run storage checking in DEBUG mode at every turn,
it will make "DELETE OLD MSGS" always be checked in Mms Settings

Change-Id: I4412f6771695c84371cee543ec2276285f3fca07
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Check if mText is null before invoke toString()

Change-Id: I8b519fa42e928eb157248e6b896a8958f281f9cd
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Mms: Add "Insert contact info" back

Bring back the ability to insert contact info (Phone numbers, Email addresses,
Events, Postal address and Website), in a SMS or a MMS, as a text.

Compared to gingerbread/CM7: - several info can be inserted thanks to checkboxes
                             - no more adapter (not really needed)
                             - Event info added
                             - feature is under Menu, not Add attachment

    * Patch Set 1: initial commit
    * Patch Set 2: corrections, better strings, util/DateFormat.java added
    * Patch Set 3: Cleanup
    * Patch Set 4: Change information to info in title

Change-Id: Ida4a9d52d83a909f55e54d272849fe16c6781681

Conflicts:
	res/values/strings.xml
Mms: Go TRDS 2.0

use propper configuration values now

rebase

Change-Id: I181191d5b92f52f2df0f07ef12957ec5aee02507
MMS: Fix lookup of vanity addresses

Change-Id: Idc2311c57a11791a7b55db7305f35c9f320fda82
JIRA: CYAN-57
Issue: https://jira.cyanogenmod.org/browse/CYAN-57
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Enhance the Easy Selector

- Follow GoogleUI Guidelines
- Fullscreen selector
- Added groups support

Credits to original author Eric Mourougandy

Change-Id: Iea1757585f337052cda02e40f5afa321fdc1730d

Conflicts:
	src/com/android/mms/ui/ComposeMessageActivity.java
MMS app: fix crash when MMSC setting is NULL

An APN with a null MMSC column prevented the MMS app
to find the next APN in query.
Add Multi-Part and Split SMS Configs

PS 2 : Added Split SMS
PS 3 : Cleanup
PS 4 : Fixed Derp!
PS 5 : Fixed Commit msg

Change-Id: I9c9a66ea045a7fb8b20e9d378308eb7d1dc266f6

Conflicts:
	res/values/strings.xml
Set notification number for 2 and more messages

This adding feature to show counts only for 2 and more messages
like on Gmail app.

Extension for http://gerrit.aokp.co/#/c/8374/

Change-Id: Ic1d93df19f52742aeff932a7a1b4bb222fdb78b2
Signed-off-by: kecinzer <kecinzer@gmail.com>
Fix 'vibrate on call' option.

JIRA:CYAN-1325
Change-Id: Ia01945aa281a1ebef38c80c5896e5be79c290435
Separate Multi-part SMS setting from size

This does the foll.:

- Separates the toggle from the size (makes more sense)
- Defaults to true, so users find no diff in behavior
- Default convert value for MMS to 7
  (I would suggest that the sprint devices set it via overlay to -1)
- Generalize numberpicker dialog message

Change-Id: I5b6fb33c3cc56a4078d0170a080ccee840afdbf1
Fix: avoid FC for dirty flasher

due to a boolean/int change dirtyflashe will get massive
fc on settings. Rename used value to avoid this problem

cheers

Change-Id: I0cc6597387b2773957d3986e7f1524b6afb31439
taskon home

Change-Id: Ib628e06fbd1575bd627f35a70ff6c47c71aaecec
Some cleanup.

Change-Id: I47d867f3eaed55b53fdc26b463eef29994ecfd22
Fix up receiver declaration.

The intent this receiver listens to is used by the BT MAP implementation
to send out SMS it queued. As the manifest and the
SmsReceiverService.java were in disagreement about the action name, this
didn't work.
Also secure the receiver in the process, it can be used to send out SMS
without having the SEND_SMS permission otherwise.

Change-Id: Ia8d181731baea586865ce3f18fe0864636c2b6f4
Mms: Delay unicode stripping from a message

Using an InputFilter for stripping has some unwanted
consequences. First of all it totally messes up dictionaries
for suggestions. Usually user taking advantage of unicode
stripping wants to text without non-GSM chars, but wants
to have full and correctly spelled suggestions in other apps
(e.g. email). The InputFilter approach results in having stripped
suggestions everywhere.

With this change the app strips unicode characters only for the
purpose of counting available characters counting and to convert
the text right before sending the message. This way the user
can compose messages (and have his drafts stored) with all
characters and can see his stripped messages in the conversation
history after (to be aware that it has been stripped
of unicode chars).

This makes the app behavior consistent with many popular apps
(e.g. GO SMS, Handcent) meeting users' expectations.

Patch set 2: fixed initialization order in QuickMessagePopup.java
Patch set 3: rename class: StripUnicode -> UnicodeFilter

Change-Id: I44ac859d286958d036ddd67a6820a4c09a393644
Mms: fix possible NPE

Change-Id: I604a0ed9acd55f4dad9b55a2a20805005b4d72e6
Mms: sets endMmsConnectivity() as last operation

When a user receives an Mms and there is no more pending requests, the method
endMmsConnectivity() is called to turn the data connection off and clear the
wakelock. Sometimes the phone deep sleeps before the user gets Mms
notifications, so this patch makes endMmsConnectivity() to be the last
operation so users can be notified of Mms's.

Change-Id: Iff518acbf98486ede7f24e1439b021d26cdbccc1
Prevent FC in low memory conditions

Add missing null cursor checks

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I974eea82cac3dfe3a01e5d79c1721d3514f940f6