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

Commit 8727697b authored by Matt Casey's avatar Matt Casey Committed by Automerger Merge Worker
Browse files

Merge "Save screenshot with max priority (in the background)" into 24D1-dev am: 09bb6c91

parents a8489fb3 09bb6c91
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -229,6 +229,8 @@ public class ImageExporter {
        return CallbackToFutureAdapter.getFuture(
                (completer) -> {
                    executor.execute(() -> {
                        // save images as quickly as possible on the background thread
                        Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
                        try {
                            completer.set(task.execute());
                        } catch (ImageExportException | InterruptedException e) {