Added SMS Split by encoding and counter at end of message with settings

Added additional requirements into res/xml/mms_config.xml and src/com/android/mms/MmsConfig.java

All Credits to CM for their work. I just pulled it in.

Migrating features from CM7 to CM9
- http://review.cyanogenmod.com/#change,3316,patchset=1

Change-Id: I05f134e22f5f186dbb5c07bbb14e4489a2a27f9b
Signed-off-by: KAsp3rd <casper200519@gmail.com>

Conflicts:

	res/values/strings.xml
	res/xml/mms_config.xml
	src/com/android/mms/MmsConfig.java
	src/com/android/mms/transaction/SmsMessageSender.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Emoji patch from CM9 for the MMS app

Support for the Unicode subset dedicated for emojis, as used on the iPhone, or even the Gmail website.

Emojis are supported system-wide (display-only) since 4.1 (some glyphs are simply integrated in the system truetype font for the corresponding Unicode code-points).
These black-and-white emojis are displayed in the notification bar, courtesy of Google, but they don't look good in the Conversation view of the MMS app.
This patch adds the ability to send emojis back (as in CM9) and replaces them with their colored bitmap version.

For more information, see commit with change-Id: I9eb5081eb7514cb2b89ed3b91cc3054347d6ac90

Change-Id: Iea7dccadf3cb26ef00502631aa0863557b2e8f6e

Conflicts:

	res/values/strings.xml
	res/xml/preferences.xml
	src/com/android/mms/ui/ComposeMessageActivity.java
	src/com/android/mms/ui/MessagingPreferenceActivity.java

Conflicts:

	res/values/strings.xml
	src/com/android/mms/ui/ComposeMessageActivity.java
	src/com/android/mms/ui/ConversationListItem.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Added option to show full datetime for messages

PS2: clean up

Change-Id: I9426e974be7f9def3640feedeb80f8615c20229e
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:

	src/com/android/mms/ui/MessagingPreferenceActivity.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
QuickReply: Quick reply from notification

This is a list of functions of the modification:
-Call from notification
-Quick Reply from notification
-Opens its own activity
-Marks as read
-Will bypass keyguard and re-open it when reply sent
-Clears notification on quick reply
-Dismiss of quick reply by clicking off screen with options to
cancel message, stay on message, or mark it read.
-Emoji & Smiley emote support
-Popup menu with options
-Multi message support showing on the popup from the same contact

-Patch 2: updates to the toast message, and marking SMS read
-Patch 3: fixed affinity to open activity on its own.
also now bypasses keyguard and re-opens it on reply.
-Patch 4: fixed mark as read and clear notification on quick reply
-Patch 5: update alert with strings to make translators happy
added the on dismiss to have an option to mark sms read
-Patch 6: added emoji & smiley support from their built in parsers
-Patch 7: now marks entire thread as read if you are replying/mark read
on a text that you have gotten multiple from the same contact
-Patch 8: update layout: Use android text appearance attr on text,
use single line on names to avoid wonkiness for very long names,
add lighter holo send button so that it can be used without a button
background. Hopefully will work a bit better on < xhdpi devices, no
way to test here however.
-Patch 9: Added multi thread support from same sender to be viewed on popup.
added a menu button with option to insert smiley, insert emoji, close popup,
close and mark read.

Change-Id: I012aefbd401d175d8caf834dfb8d7b678cb9a534
Signed-off-by: Adam Fisch <adammfisch@gmail.com>

Conflicts:

	AndroidManifest.xml
	src/com/android/mms/transaction/MessagingNotification.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Quick Reply: add option to disable call back button

This will add a checkbox in settings to disable the call back button.
Default will be to show the button.

PS2: move the preference to the notification category

Change-Id: I07728c501b67b78bcfffc878e49949388287c9fb
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
QuickReply: multi SMS reply WIP

This is for when you get SMS from more than 1 person to allow quick reply.
The base concept of this is working.
You get an alert asking you who you want to reply to....

Any ideas for improvement are welcome as well as bug reports

-Patch 2: removed unused imports
-Patch 3: allows multiple messages from the same contact to pass through
to the quick reply from the multi reply.  Added text counter.
Added support to send more than 1 SMS for more than 160 char.
-Patch 4: rebase
-Patch 5: converted to strings to make translators and KhasMek happy

Change-Id: I690e936ffdc900619ae10ecc3b3a9c7b4dfe9b82
Signed-off-by: Adam Fisch <adammfisch@gmail.com>

Conflicts:

	src/com/android/mms/transaction/MessagingNotification.java

Conflicts:

	AndroidManifest.xml

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
QuickReply: fix for home button

Fixes the issue of a random empty screen you got when pressing the home key

-Patch 2: cleanup
-Patch 3: updated how onPause is worked based on keyguard and screen on/off
-Patch 4: fix angry red squares

Change-Id: I797d64dc11bb6b8d1430bb0e562a4d76015346f6
Signed-off-by: Adam Fisch <adammfisch@gmail.com>
QuickReply: ondismiss fix

Fixes the issue of the text you had typed in the quick reply not showing
back up if you hit no to discard the message

Signed-off-by: Adam Fisch <adammfisch@gmail.com>
Add back Quick Emoji

-I missed this feature from ICS. Disabled by default.

patchset 2: changed emoticon to smiley face.

Original thread: http://gerrit.sudoservers.com/#/c/183/1

Change-Id: I474f6f9ecd50e2e66bd655b9a3029cc97550f1b4