Skip to content

Commit

Permalink
#169: Update exif-file-info also updates mediadb without changing med…
Browse files Browse the repository at this point in the history
…iadb-id: Imagedetail: EditExif,rename,move,copy,delete
  • Loading branch information
k3b committed Dec 22, 2020
1 parent 2f732c0 commit f5b66e7
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,11 @@ private boolean renameInDatabase(String dbgContext, IFile targetFullPath, IFile
ContentValues values = new ContentValues();
values.put(FotoSql.SQL_COL_PATH, toPath);
final int execResultCount = FotoSql.getMediaDBApi().
execUpdate(this.getClass().getSimpleName() + dbgContext, fromPath, values, null);
execUpdate(this.getClass().getSimpleName() + dbgContext,
sourceFullPath.getAbsolutePath(), values, null);
return 1 == execResultCount;
}

return 1 == execResultCount;
return false;
}

private Uri copyInDatabase(String dbgContext, String fromPath, String toPath) {
Expand Down

0 comments on commit f5b66e7

Please sign in to comment.