Mms: Prevent popup window from closing

Popup window will close if pressed outside of it.

This commit disables touches outside the popup.

10x Revertron

Change-Id: Ife491d8b58d1b32d59760eb10a6e10cb67969974
MSIM: Replace SUBs with real operator name.

  Add Sim slot number after Operator name
  Remove unused strings

Change-Id: If7947e2bf8bc6ace182a6ab3955afd3573e5017f
Automatic translation import

Change-Id: Ie71a417a7bf933f85c2c5ac6de26c3a2f90b89f3
Automatic translation import

Change-Id: I4cc3473f691b93d58abf71619c49bcdbeac697e5
Avoid ConversationList/ComposeMessage activity leaks

First, ConversationList activity leak, Contact.mListeners are only unbound
when ListItemViews are recycled, without considering the activity exit case
or message delete case.
Second, ComposeMessage activity leak: use SoftReferences instead of
HardReferences for the slideshow cache.

Change-Id: Ic235b31403b26aba16bf6b8b51bff7b4c6f68d98
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
Stop previous TaskStack worker

Each time we delete all threads, a new TaskStack thread is started.
We need stop the previous one to avoid over memory consumption.

Change-Id: Ibee8dd7b8e757df0686c7989dc7d9878f9ef5102
Signed-off-by: Emmanuel Berthier <emmanuel.berthier@intel.com>
Merge "Stop previous TaskStack worker" into cm-11.0
Automatic translation import

Change-Id: I360ecf39a540426b105e3bea1bd2745d5f357c8a
Automatic translation import

Change-Id: I4b3e04889722e960b79dd3644bcd7150a4065c44
Automatic translation import

Change-Id: Id85c13596f30a37838788c28f24b6769c847b6fd
Revert "Remove smiley support"

This reverts commit c7c68dba4f3440f234f65eef579f9aaa82682f8c.

It seems that the smiley support has been removed by a Google Dev (Tom Taylor)
without any explanations:
    https://android.googlesource.com/platform/packages/apps/Mms/+/c7c68db

This modification gets the smiley back:
 * ASCII Smileys are converted to images in all received/sent messages.
 * A new menu entry (Insert smiley) is available in the menu of a conversation
   view (ComposeMessageActivity).

I also added this support in QuickMessage too (by parsing the message
just before sending it to the TextView).

PAC-Rom Change-Id: I59be9aaed9218459452274c743b71df72d0927ff
Change-Id: Ic3f7005a2c2485405a9259f3ede7fc5ad40336e0
Mms: Clear notifications and mark messages read in certain situations

I made these changes to CarbonRom (a fork of CM11), and I
heard that people were still having these issues in CM11.
These two commits (merged into one here) fix issues where messages
in the Mms app were not getting marked as read in certain situations, 
and the notification was not getting cleared when tapped.

More details about these bugs can be found in my original commits to
Carbon:

https://github.com/CarbonDev/android_packages_apps_Mms/commit/b3a831a6e3019d256163b23870e0f4e0134fce16

https://github.com/CarbonDev/android_packages_apps_Mms/commit/21c851e139c56f387c83e11d12d2a2fa8e0c3ff0

Change-Id: If6d716f71d7b6ee5986665c32c0adfab21085a07
Automatic translation import

Change-Id: I78da498d8c135842ee5fdc8440e2218be5d2e1a0
Merge "Mms: Clear notifications and mark messages read in certain situations" into cm-11.0
Merge tag 'android-4.4.3_r1' into HEAD

Android 4.4.3 release 1
Hide "Insert smiley" if emoticons are disabled

There's no point in having "insert smiley" option when
graphical emoticons are disabled.
I still hate these emoticons.

Change-Id: I2b811015910811e211c9e3e203532f19c29a0638
Mms: disable SplitActionBar

This makes the UI more consistent with newer Email app look.

Screenshots:
  https://dl.dropboxusercontent.com/u/16268774/cm_temp/email.jpg
  https://dl.dropboxusercontent.com/u/16268774/cm_temp/mms.jpg

Change-Id: I71c287f258b9cb8f4b94456ecc9d4034d4680525
Automatic translation import

Change-Id: Ic8b437f501e973b47d1d6b123d7a0eefebf6a13d
Better QuickMessage layout for mdpi

Change-Id: I07a06ecf23580982ac442aa95004e46c3d202fc5
Mms: use Holo Light theme

PS6:  Changed actionbar buttons order so delete
      is the right-most one.
PS8:  Added "mark as read" drawables (thanks Björn)
PS10: Fixed ActionBar text color.

Screenshots:
  https://dl.dropboxusercontent.com/u/16268774/cm_temp/newmms1.jpg
  https://dl.dropboxusercontent.com/u/16268774/cm_temp/newmms2.jpg
  https://dl.dropboxusercontent.com/u/16268774/cm_temp/newmms3.jpg

Change-Id: I8eefe77687d03b143a85261413a05e3ed76ba090