Merge "More maybe fix issue #22765972: Binder transactions running out..." into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8d3a67a8d4
@@ -292,7 +292,9 @@ public abstract class AsyncTask<Params, Progress, Result> {
|
||||
|
||||
Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
|
||||
//noinspection unchecked
|
||||
return postResult(doInBackground(mParams));
|
||||
Result result = doInBackground(mParams);
|
||||
Binder.flushPendingCommands();
|
||||
return postResult(result);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user