mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Modified change comment for clarification
This commit is contained in:
parent
5aed1e565c
commit
ae7e6137a2
@ -839,7 +839,7 @@ public final class ImageGalleryController {
|
||||
Content newDataSource = (Content) event.getNewValue();
|
||||
if (isListeningEnabled()) {
|
||||
try {
|
||||
// Only add the data source if is not in the database
|
||||
// If the data source already exists and has a status other than UNKNOWN, don’t overwrite it.
|
||||
if(drawableDB.getDataSourceDbBuildStatus(newDataSource.getId()) == DrawableDB.DrawableDbBuildStatusEnum.UNKNOWN) {
|
||||
drawableDB.insertOrUpdateDataSource(newDataSource.getId(), DrawableDB.DrawableDbBuildStatusEnum.UNKNOWN);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user