Change-Id: I5ec1d9075757215646024302af30c9445468156f
Signed-off-by: Dinesh Dwivedi <dinesh.d@samsung.com>
{
tcs.TrySetException(PackageManagerErrorFactory.GetException(err, "Failed to get total package size info"));
}
- return await tcs.Task;
+ return await tcs.Task.ConfigureAwait(false);
}
// This method assumes that given arguments are already validated and have valid values.
{
tcs.TrySetException(PackageManagerErrorFactory.GetException(err, "Failed to get total package size info"));
}
- return await tcs.Task;
+ return await tcs.Task.ConfigureAwait(false);
}
/// <summary>