Merge pull request #10549 from ferhatparmak:release-requirementswatcher

PiperOrigin-RevId: 472488921
(cherry picked from commit a18ab3745e)
This commit is contained in:
Marc Baechinger 2022-09-30 17:33:40 +00:00 committed by microkatz
parent 047310b31d
commit 0e6d0d7f38

View file

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