log number of items deleted even when no item was deleted at all
Bug: 137678815 Change-Id: I1cf23921f863a17433ba803158e489b54c1aa35d
This commit is contained in:
parent
0fd48b51ba
commit
fb9b779e9d
|
@ -114,9 +114,7 @@ public class RestoreDbTask {
|
|||
}
|
||||
try {
|
||||
int itemsDeleted = db.delete(Favorites.TABLE_NAME, whereClause.toString(), profileIds);
|
||||
if (itemsDeleted > 0) {
|
||||
FileLog.d(TAG, itemsDeleted + " items from unrestored user(s) were deleted");
|
||||
}
|
||||
FileLog.d(TAG, itemsDeleted + " items from unrestored user(s) were deleted");
|
||||
} catch (IllegalArgumentException exception) {
|
||||
// b/147114476
|
||||
FileLog.e(TAG, new StringBuilder("Failed to execute delete, where clause: '")
|
||||
|
|
Loading…
Reference in New Issue