Fix a crash when scrolling while a SMS is delayed.

Change-Id: I73f2d5f0e44dd80955db58e29ce1712cbf4e0ebb
Mms: Remove white background on the timestamp

The current white background clashes with the gradient
used for the background. It also causes a very slight
overdraw which theoretically hurts performance a bit.

Change-Id: Ib51df2abdb5f3f262d2983dc07635c03d0c75430
Merge "Mms: Remove white background on the timestamp" into cm-11.0
Mms: Remove conflicting AOSP translations

Change-Id: I54e082a1738cd1feb2acda0f1a44c049a74f27d6
Automatic translation import

Change-Id: I964ac5f3095963726722ee9009124537cf3fb83b
Mms: Handle null inputstream from missing file but valid uri.

  - For when you adb restore, an image may corrupt or be missing,
    therefore, we can't always assume that our inputstream from a
    what appears to be a valid file uri won't be null.

Change-Id: I78367c4808fb9967bb750b8713f2cec75805dc05
mms: do not update seen field in markAsUnread operation

This prevents to a seen thread to be notified again after mark as unread

Change-Id: Ib97ded493cdddb261666cffb37bf2f82e827d6a3
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
mms: markAsUnread only read items (ignore seen flag)

Do not mark threads that are only seen

Change-Id: Iffef7823663918ee0dcbecc0241cde71e5a25bca
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
mms: cleanup markAsUnread code

Change-Id: I66f130d3d05e547106a6658208d95a147a7a9a18
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
mms: markAllAsUnread is never called

The actual markAllAsUnread code is never called. It requires a new menu to be launched.

Change-Id: If620ca3c41aa091e065ff7646091bc118a072e5d
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Automatic translation import

Change-Id: Ia40ebeec6c7c2931d60ccdee7b02e0def32e754a
Automatic translation import

Change-Id: Ieb7c5d37af693f19055182d38c323e572e8c6d30
Per conversation notification settings/ringtones

Added per conversation options. Right now the only options for each
conversation is custom notification ringtone, vibration settings.

This is useful as for each thread, you can have a custom ringtone.

The implementation is done with a custom database. This is ideal as we
don't want to modify sqlite database from google as if they upgrade, we
will run into a lot of trouble.

Github branch:
https://github.com/shuhaowu/android_packages_apps_Mms/tree/per-thread-options

PS4: Minor changes from comments.

Change-Id: I8e8e533cdcda14b3bc6adea0bb0db04cfbf0ce2b
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Mms into cm-11.0