Name threads

This commit is contained in:
M66B 2019-05-12 12:11:36 +02:00
parent 7ba42e46fe
commit dcc7a7e82b
4 changed files with 6 additions and 6 deletions

View File

@ -3053,7 +3053,7 @@ public class FragmentMessages extends FragmentBase {
db.endTransaction();
}
}
});
}, "messages:timeout");
thread.setPriority(THREAD_PRIORITY_BACKGROUND);
thread.start();
}

View File

@ -247,7 +247,7 @@ public class ServiceSend extends LifecycleService {
wl.release();
}
}
});
}, "send:connectivity");
thread.setPriority(THREAD_PRIORITY_BACKGROUND);
thread.start();
}
@ -450,7 +450,7 @@ public class ServiceSend extends LifecycleService {
Log.e(ex);
}
}
});
}, "send:boot");
thread.setPriority(THREAD_PRIORITY_BACKGROUND);
thread.start();
}

View File

@ -1202,7 +1202,7 @@ public class ServiceSynchronize extends LifecycleService {
Log.e(ex);
}
}
});
}, "synchronize:connectivity");
check.setPriority(THREAD_PRIORITY_BACKGROUND);
check.start();
} else
@ -1288,7 +1288,7 @@ public class ServiceSynchronize extends LifecycleService {
Log.e(ex);
}
}
});
}, "synchronize:boot");
thread.setPriority(THREAD_PRIORITY_BACKGROUND);
thread.start();
}

View File

@ -38,7 +38,7 @@ public class Widget extends AppWidgetProvider {
DB db = DB.getInstance(context);
update(appWidgetIds, appWidgetManager, context, db.message().getUnseenUnified());
}
});
}, "widget:update");
thread.setPriority(THREAD_PRIORITY_BACKGROUND);
thread.start();
}