The signature of the TusAndroidUpload is the following:
TusAndroidUpload(Uri uri, Activity activity)
Since the Activity itself is not used for anything but getting a ContentResolver from it, a Context could be used instead, thus relaxing the requirements for its usage.
The signature of the TusAndroidUpload is the following:
TusAndroidUpload(Uri uri, Activity activity)
Since the Activity itself is not used for anything but getting a ContentResolver from it, a Context could be used instead, thus relaxing the requirements for its usage.