Refactor
parent
6d83c026b1
commit
99dcd129ab
|
@ -170,6 +170,11 @@ class TimelineQuery(private val mCtx: MainActivity) {
|
||||||
return photos
|
return photos
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the image EXIF info response for local files.
|
||||||
|
* @param id File ID
|
||||||
|
* @return JSON response
|
||||||
|
*/
|
||||||
@Throws(Exception::class)
|
@Throws(Exception::class)
|
||||||
fun getImageInfo(id: Long): JSONObject {
|
fun getImageInfo(id: Long): JSONObject {
|
||||||
val photos = mPhotoDao.getPhotosByFileIds(listOf(id))
|
val photos = mPhotoDao.getPhotosByFileIds(listOf(id))
|
||||||
|
|
Loading…
Reference in New Issue