Merge pull request #10549 from ferhatparmak:release-requirementswatcher

PiperOrigin-RevId: 472488921
(cherry picked from commit 92cfa7467b8f74daab22276c6db4e885b76e7c28)
This commit is contained in:
Marc Baechinger 2022-10-19 21:14:45 +00:00 committed by microkatz
parent 0a0df93334
commit d2623dda9b

View File

@ -531,6 +531,7 @@ public final class DownloadManager {
Thread.currentThread().interrupt();
}
applicationHandler.removeCallbacksAndMessages(/* token= */ null);
requirementsWatcher.stop();
// Reset state.
downloads = Collections.emptyList();
pendingMessages = 0;