pull/653/merge
Varun Patil 2023-10-01 19:38:39 -07:00
parent 6d83c026b1
commit 99dcd129ab
1 changed files with 5 additions and 0 deletions

View File

@ -170,6 +170,11 @@ class TimelineQuery(private val mCtx: MainActivity) {
return photos
}
/**
* Get the image EXIF info response for local files.
* @param id File ID
* @return JSON response
*/
@Throws(Exception::class)
fun getImageInfo(id: Long): JSONObject {
val photos = mPhotoDao.getPhotosByFileIds(listOf(id))