-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code improvements for media file downloading #6334
Conversation
9fd7312
to
14b7f57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to merge into v2024.2.x
instead of master
a4e0a1c
to
553e46f
Compare
DaggerUtils.getComponent(getContext()).inject(this); | ||
|
||
String projectId = getProjectId(uri); | ||
logServerEvent(projectId, AnalyticsEvents.INSTANCE_PROVIDER_UPDATE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This analytics event should be deleted as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Tested with Success! Verified on device with Android 14 Verified Cases:
|
Code improvements for media file downloading
Code improvements for media file downloading
Code improvements for media file downloading
Why is this the best possible solution? Were any other approaches considered?
I've introduced sanitizing media file names and removed the support for
InstanceProvider#update
as we discussed with @seadowg.How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
The only thing that is worth testing here is downloading forms with media files.
Do we need any specific form for testing your changes? If so, please attach one.
No.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:
./gradlew connectedAndroidTest
(or./gradlew testLab
) and confirmed all checks still passDateFormatsTest