Glimpse: Clear selection on contract result

Change-Id: I97a439a9ae34359fe61b9c1abf47b26d69740c55
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
diff --git a/app/src/main/java/org/lineageos/glimpse/fragments/AlbumViewerFragment.kt b/app/src/main/java/org/lineageos/glimpse/fragments/AlbumViewerFragment.kt
index 8f1f90e..520304a 100644
--- a/app/src/main/java/org/lineageos/glimpse/fragments/AlbumViewerFragment.kt
+++ b/app/src/main/java/org/lineageos/glimpse/fragments/AlbumViewerFragment.kt
@@ -261,6 +261,7 @@
             ).show()
 
             lastProcessedSelection = null
+            selectionTracker?.clearSelection()
         }
 
     private val trashContract =
@@ -289,6 +290,7 @@
             }.show()
 
             lastProcessedSelection = null
+            selectionTracker?.clearSelection()
         }
 
     private val restoreFromTrashContract =
@@ -309,6 +311,7 @@
             ).show()
 
             lastProcessedSelection = null
+            selectionTracker?.clearSelection()
         }
 
     // Arguments