src/main/java/de/blau/android/photos/PhotoIndex.java
/**
     * Check if we have already indexed the photo
     * 
     * @param uri the Uri for the photo
     * @return true if already present
     */
Check if we have already indexed the photo

@param uri the Uri for the photo
@return true if already present
Check if we have already indexed the photo @param uri the Uri for the photo @return true if already present
public boolean isIndexed(@NonNull Uri uri) {
        SQLiteDatabase db = null;
        try {
            db = getReadableDatabase();
            return isIndexed(db, uri);
        } finally {
            SavingHelper.close(db);
        }
    }
public boolean isIndexed ( @ NonNull Uri uri ) { SQLiteDatabase db = null ; try { db = getReadableDatabase ( ) ; return isIndexed ( db , uri ) ; } finally { SavingHelper . close ( db ) ; } }
Check if we have already indexed the photo
Check if we have already indexed the photo