Temporary changes to disable sms de-duping code.
Not reverting the entire CL as it includes db version upgrade.
Bug: 27974596
Change-Id: I427f822ee75274711b3654c4017381f8073fc653
diff --git a/src/com/android/providers/telephony/SmsProvider.java b/src/com/android/providers/telephony/SmsProvider.java
index d8b97c5..61d0be9 100644
--- a/src/com/android/providers/telephony/SmsProvider.java
+++ b/src/com/android/providers/telephony/SmsProvider.java
@@ -209,7 +209,7 @@
case SMS_RAW_MESSAGE:
// before querying purge old entries with deleted = 1
- purgeDeletedMessagesInRawTable(db);
+ // purgeDeletedMessagesInRawTable(db);
qb.setTables("raw");
break;
@@ -687,14 +687,14 @@
break;
case SMS_RAW_MESSAGE:
- ContentValues cv = new ContentValues();
+ /* ContentValues cv = new ContentValues();
cv.put("deleted", 1);
count = db.update(TABLE_RAW, cv, where, whereArgs);
if (Log.isLoggable(TAG, Log.VERBOSE)) {
Log.d(TAG, "delete: num rows marked deleted in raw table: " + count);
}
notifyIfNotDefault = false;
- break;
+ break;*/
case SMS_RAW_MESSAGE_PERMANENT_DELETE:
count = db.delete(TABLE_RAW, where, whereArgs);