Mms: Avoid showing a window when marking as read

Change the "mark as read" action implementation, so that it
uses a BroadcastReceiver instead of an Activity.

The downside of using an Activity is that the current top
activity will be paused and resumed. This pausing, however
brief, may disturb what the user is doing, like watching a
kitty video on youtube.

Change-Id: I1fe3868a1e82856e42265b14590fab721492db59
Mms: Add privacy mode notifications

This add privacy mode feature to notifications, user and message are hidden in
status bar and notifications area when privacy mode is enabled

Patch set 1-4 : Initial commits
Patch ser 5   : Slight wording change of summary string

Change-Id: I20f5fd198d51d7079345708725a58ef2c2a71b7f

Conflicts:
	res/values/strings.xml
	src/com/android/mms/transaction/MessagingNotification.java
	src/com/android/mms/ui/MessagingPreferenceActivity.java

Signed-off-by: travp624 <travp624@gmail.com>
Mms : Default privacy mode to off

Change-Id: I3d4037816662707c795c60e0db47f0adbb2e08ab
Mms: Use a more familiar 'mark as read' icon

The existing 'mark as read' icon is a bit confusing and doesn't make clear
where it is for. This commit replaces the existing cion with the read icon
which is used in Email and Gmail.

Before: http://goo.gl/GXKfj
After:  http://goo.gl/RTEwa

Change-Id: I3c7ae7aa6173e29e687a7e0d564b2d54fcc61a51
merge tags 'android-4.2.2_r1' into jb-4.2

also included is changes pulled from cm/cm-10.1

Signed-off-by: travp624 <travp624@gmail.com>
Mms: adds the option to hide sprints vm text messages, but still allows sprints vvm to receive messages.

This fixes the missing code form the merge.
Patchset 2: Add braces and fix import.
Patchset 3: Cleanup.

Change-Id: I7ffe257ee7df05324183c6985157fef94847bda1

Conflicts:
	src/com/android/mms/transaction/MessagingNotification.java
	src/com/android/mms/transaction/SmsReceiverService.java

Signed-off-by: travp624 <travp624@gmail.com>
Clean up custom vibration format code.

Change-Id: I0c5bed78d57bf529b5f03eac281f3a1eb15e4fd0
Mms: Restore correct drawable for save button

Before: http://goo.gl/1p4s7
After:  http://goo.gl/ZJskd

Patch set 2: Trying to fix parents

Change-Id: I24546dda03f783e43e05ddf40ab576a3fda0dcec
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
	src/com/android/mms/ui/ComposeMessageActivity.java

Signed-off-by: travp624 <travp624@gmail.com>
MMS: Change Android emoji back to original emoji set

This change allows for more easily identifiable emojis by reverting the android emoji's that were introduced in change id I35bf45242780ef392567469b7a264e449f5dc589. This allows for a more consistent look through the emoji set and are also more understanding then the android emojis.

Change-Id: I8dd20c15d30619fdeec154fcb373acdaffa96612
fix duplicate imports error

Signed-off-by: travp624 <travp624@gmail.com>
Mms: themes section a complete cleanup.

ps1: move all themes settings strings to a constants java file.
ps2: cleanup smiley parser simplifing the color and hoping it holds.

ps3: add text size to all variables of the conversation list and message list views.
ps4: more cleanup
Signed-off-by: travp624 <travp624@gmail.com>
Mms: add quick smiley btn to bottom text entry bar.

ps. 1: create quick entry btn for emojis.
ps. 2: rebase adding a listview alertdialog for either insert smiley or insert emoji
ps. 3: create new drawable for button

Signed-off-by: travp624 <travp624@gmail.com>
Mms: start of strings cleanup still more to do.

Signed-off-by: travp624 <travp624@gmail.com>
Mms: theme (WIP) redo custom background images (no longer need to restart app) redo smiley parser (still goes haywire once in awhile)

general cleanup and move around settings choices.

Signed-off-by: travp624 <travp624@gmail.com>
Mms: Enforce thumbnail rotation when needed (CYAN-503)

Prior Behavior: ThumbnailManager will bail on bitmap operations if no
re-scaling is needed.

New Behavior: ThumbnailManager will bail on bitmap operations if no re-scaling
AND no orientation adjustment is needed.

Change-Id: Ib5f49ce9fcd5f981407cac5a33bb8e77fdf13a01
Merge branch 'jb-4.2' of https://github.com/TeamBAKED/packages_apps_Mms into jb-4.2

Conflicts:
	res/values/strings.xml
	src/com/android/mms/transaction/MessagingNotification.java