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
Mms: Remove conflicting AOSP translations

Change-Id: I54e082a1738cd1feb2acda0f1a44c049a74f27d6
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>

Conflicts:
	src/com/android/mms/data/Conversation.java
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>

Conflicts:
	res/menu/conversation_list_menu.xml
	res/values/bs_strings.xml
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

Conflicts:
	res/values/bs_strings.xml