class WorkManagerImpl extends WorkManager implements SynchronousWorkManager {

    @Override
    public List<WorkStatus> getStatusesByTagSync(@NonNull String tag) {
        assertBackgroundThread("Cannot call getStatusesByTagSync on main thread!");
        WorkSpecDao workSpecDao = mWorkDatabase.workSpecDao();
        List<WorkSpec.WorkStatusPojo> input = workSpecDao.getWorkStatusPojoForTag(tag);
        return WorkSpec.WORK_STATUS_MAPPER.apply(input);
    }

    @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public  WorkManagerImpl(
            @NonNull Context context,
            @NonNull Configuration configuration);
    @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public  WorkManagerImpl(
            @NonNull Context context,
            @NonNull Configuration configuration,
            boolean useTestDatabase);

}