Refactor
parent
6d83c026b1
commit
99dcd129ab
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue