Skip to content

Remove Unused Drawables #11401

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

Merged
merged 1 commit into from
May 17, 2024
Merged

Remove Unused Drawables #11401

merged 1 commit into from
May 17, 2024

Conversation

backwardstruck
Copy link
Contributor

@backwardstruck backwardstruck commented Apr 26, 2024

Title

Related to: #11375

Description

The drawable my_store_summary_header_image was identified as unused across the project's entire codebase and resource directories. This drawable was initially suspected to be linked to runtime exceptions on high-density devices due to its size, as indicated in issue #11375.

However, upon further analysis, it was determined that this resource is not actively being used in any part of the application—neither in XML layouts nor through dynamic referencing in the code.

Testing instructions

To ensure that there are no unintended side effects from removing this drawable, please follow these testing steps:
Smoke Test: Navigate through all screens that could potentially include image resources to ensure no graphical issues are apparent.

  • I have considered if this change warrants release notes and have added them to RELEASE-NOTES.txt if necessary. Use the "[Internal]" label for non-user-facing changes.

@wpmobilebot
Copy link
Collaborator

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App Name WooCommerce Android
FlavorJalapeno
Build TypeDebug
Commit5a96ea2
Direct Downloadwoocommerce-prototype-build-pr11401-5a96ea2.apk

@backwardstruck backwardstruck added type: crash The worst kind of bug. feature: dashboard Related to home screen project labels Apr 26, 2024
@soundsokay
Copy link

soundsokay commented May 16, 2024

Has there been any more progress, or plans to continue, on this @backwardstruck?

@backwardstruck
Copy link
Contributor Author

@soundsokay I haven't been able to reproduce and the issue frequency is still very low. I've archived the issue until it affects an additional ten users. In the meantime, I'll get this PR ready to merge since it should be good to do anyway. It won't address the crash though.

Copy link
Contributor

@kidinov kidinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kidinov kidinov merged commit 2311b13 into trunk May 17, 2024
5 checks passed
@kidinov kidinov deleted the runtimeexception-large-bitmap-fix branch May 17, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: dashboard Related to home screen project type: crash The worst kind of bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants