Improve delete handling code.

Change-Id: I3f09f00a2966ee246056ea11ec55d952da6aabc0
Drop blacklist number uniqueness constraint.

It's very hard to deal with that constraint in practise, so drop the
contraint from the DB and handle potential duplicate rows when querying.

Change-Id: Id28a415ba80cf100879b24de88b4b50638e900ca
TelephonyProvider: Update Icons to KitKat

* These are residuals from Jellybean.  This is KitKat!!!

Change-Id: I4bd5e013b072daab3433e7d852ac4c4027a29a7d
Properly handle alphanumeric 'numbers'.

Change-Id: I326198c19bb567846d09f8bb8c293a024c830296
JIRA:CYAN-3234
Fix permission check for deleting  SMS on UICC.

When accessing SMS stored on UICC via TelephonyProvider, we need to
use the com.android.phone UID for the call to IccSmsInterfaceManager
to avoid a UID mismatch failure in the app ops check. Add code to
SmsProvider to save and restore the original caller identity.

Change-Id:I520ca6e456a20ad3bc5d5c2584be2560e16efd20
CRs-Fixed: 562711
(cherry picked from commit cc0aff6fa3de420b12c602fab9f139847bfc4b85)
(cherry picked from commit adbf372891093248f0ed5058eb0c701f655264f8)
(cherry picked from commit 43f8a3342021c4e86a85092c50275ead2cea93c9)
telephonyprovider: Add blacklist provider permission

Change-Id: I000edc9622528bde797db6548ea54041362eb4fd
JIRA: CYAN-3727
Issue: https://jira.cyanogenmod.org/browse/CYAN-3727
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Automatic translation import

Change-Id: Ic7426666084e9e2a5cb1326c1d9d2611ed926a13
TelephonyProvider: Impressive performance improvement for Mms delete

1. Drop the trigger used to update word and threads when delete part
2. Drop the tirgger used to update threads when delete pdu
3. Use code to do the trigger's job, to avoid unnecessary operation
when delete a lot of mms.

CRs-Fixed: 620436

Change-Id: I5dd32eb66123953848989a18abd099c905b4d3d8