TransferUtility does not update the TransferListener when the preferred network type is not available #958
Labels
bug
Something isn't working
pending-release
Code has been merged but pending release
s3
Issues with the AWS Android SDK for Simple Storage Service (S3).
Describe the bug
When using the following method
public TransferObserver upload(String bucket, String key, File file, ObjectMetadata metadata, CannedAccessControlList cannedAcl, TransferListener listener)
in airplane mode,TransferStatusUpdater
won't notify any listener because is not added by the timeTransferRecord.checkPreferredNetworkAvailability
has been called.To Reproduce
A code sample or steps:
Which AWS service(s) are affected?
S3
Expected behavior
Debugging
TransferUtility
class you can see the following.If we change to
then the listener would be called.
Screenshots
The text was updated successfully, but these errors were encountered: