Merge "Raise priority of screenshot saving task" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0896e9ea89
@@ -123,6 +123,7 @@ class SaveImageInBackgroundTask extends AsyncTask<Void, Void, Void> {
|
|||||||
if (isCancelled()) {
|
if (isCancelled()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
|
||||||
|
|
||||||
ContentResolver resolver = mContext.getContentResolver();
|
ContentResolver resolver = mContext.getContentResolver();
|
||||||
Bitmap image = mParams.image;
|
Bitmap image = mParams.image;
|
||||||
|
|||||||
Reference in New Issue
Block a user