Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57b3112e authored by Miranda Kephart's avatar Miranda Kephart Committed by Automerger Merge Worker
Browse files

Merge "Switch to "quiet" screenshot success when window destroyed" into tm-qpr-dev am: 9abbc3a3

parents 5543e25f 9abbc3a3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -448,6 +448,10 @@ public class ScreenshotController {

    // Any cleanup needed when the service is being destroyed.
    void onDestroy() {
        if (mSaveInBgTask != null) {
            // just log success/failure for the pre-existing screenshot
            mSaveInBgTask.setActionsReadyListener(this::logSuccessOnActionsReady);
        }
        removeWindow();
        releaseMediaPlayer();
        releaseContext();