From 99dcd129abc4dc155e51894f7bf8ee2b27535f60 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sun, 1 Oct 2023 19:38:39 -0700 Subject: [PATCH] Refactor --- app/src/main/java/gallery/memories/service/TimelineQuery.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/gallery/memories/service/TimelineQuery.kt b/app/src/main/java/gallery/memories/service/TimelineQuery.kt index ba84b93a..19fd2a77 100644 --- a/app/src/main/java/gallery/memories/service/TimelineQuery.kt +++ b/app/src/main/java/gallery/memories/service/TimelineQuery.kt @@ -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))