Merge "Fix URI comparison" into ub-mail-master
This commit is contained in:
commit
97ddf6e5fa
@ -1754,10 +1754,10 @@ public class EmailProvider extends ContentProvider {
|
||||
public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
|
||||
LogUtils.d(TAG, "Update: " + uri);
|
||||
// Handle this special case the fastest possible way
|
||||
if (uri == INTEGRITY_CHECK_URI) {
|
||||
if (INTEGRITY_CHECK_URI.equals(uri)) {
|
||||
checkDatabases();
|
||||
return 0;
|
||||
} else if (uri == ACCOUNT_BACKUP_URI) {
|
||||
} else if (ACCOUNT_BACKUP_URI.equals(uri)) {
|
||||
return backupAccounts(getContext(), getDatabase(getContext()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user