Merge "Add Looper.prepare() to doInBackground()"

This commit is contained in:
Treehugger Robot
2019-03-25 08:48:03 +00:00
committed by Gerrit Code Review

View File

@@ -1095,6 +1095,7 @@ public class BugreportProgressService extends Service {
new AsyncTask<Void, Void, Void>() { new AsyncTask<Void, Void, Void>() {
@Override @Override
protected Void doInBackground(Void... params) { protected Void doInBackground(Void... params) {
Looper.prepare();
zipBugreport(info); zipBugreport(info);
sendBugreportNotification(info, takingScreenshot); sendBugreportNotification(info, takingScreenshot);
return null; return null;