am 8d3a67a8: Merge "More maybe fix issue #22765972: Binder transactions running out..." into mnc-dev

* commit '8d3a67a8d475b43cbac50a2a186a19f4a29c7892':
  More maybe fix issue #22765972: Binder transactions running out...
This commit is contained in:
Dianne Hackborn
2015-07-30 01:44:38 +00:00
committed by Android Git Automerger

View File

@@ -292,7 +292,9 @@ public abstract class AsyncTask<Params, Progress, Result> {
Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND); Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);
//noinspection unchecked //noinspection unchecked
return postResult(doInBackground(mParams)); Result result = doInBackground(mParams);
Binder.flushPendingCommands();
return postResult(result);
} }
}; };