mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 754453 - BrowserProvider insert failures are silent. r=blassey
This commit is contained in:
parent
ebb501820b
commit
331068a6fa
@ -2156,6 +2156,13 @@ public class BrowserProvider extends ContentProvider {
|
||||
db.setTransactionSuccessful();
|
||||
db.endTransaction();
|
||||
db.beginTransaction();
|
||||
} catch (OperationApplicationException e) {
|
||||
// Repeat of above.
|
||||
results[i] = new ContentProviderResult(0);
|
||||
failures = true;
|
||||
db.setTransactionSuccessful();
|
||||
db.endTransaction();
|
||||
db.beginTransaction();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user