Raise priority of screenshot saving task

Bug: 157499085
Fix: 157499085
Test: manual
Change-Id: I71c9ff7809011f815a1854da367940616468055a
This commit is contained in:
Miranda Kephart
2020-06-04 11:27:35 -04:00
parent f35625face
commit 40c9951d20

View File

@@ -123,6 +123,7 @@ class SaveImageInBackgroundTask extends AsyncTask<Void, Void, Void> {
if (isCancelled()) {
return null;
}
Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
ContentResolver resolver = mContext.getContentResolver();
Bitmap image = mParams.image;