Loading packages/SystemUI/src/com/android/systemui/screenshot/ImageExporter.java +2 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,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) { Loading Loading
packages/SystemUI/src/com/android/systemui/screenshot/ImageExporter.java +2 −0 Original line number Diff line number Diff line Loading @@ -174,6 +174,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) { Loading