Skip to content
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

Better support for RRO #1814

Open
rylin8 opened this issue Nov 27, 2024 · 2 comments
Open

Better support for RRO #1814

rylin8 opened this issue Nov 27, 2024 · 2 comments
Milestone

Comments

@rylin8
Copy link
Collaborator

rylin8 commented Nov 27, 2024

The setRawResource() API allows you to load a .dcf file from a raw resource instead of from assets. However, if this is done, and then the resource is dynamically changed using RRO, the original file is still cached in memory. Find a better solution to support RRO.

@rylin8
Copy link
Collaborator Author

rylin8 commented Dec 2, 2024

Note: when the RRO is changed dynamically, a configuration change is triggered which we can hook into to clear the cached value.

@rylin8
Copy link
Collaborator Author

rylin8 commented Dec 3, 2024

Notes for troubleshooting/changing RROs: https://source.android.com/docs/core/runtime/rro-troubleshoot

@rylin8 rylin8 added this to the 0.34 milestone Dec 12, 2024
@rylin8 rylin8 modified the milestones: 0.34, 0.35 Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

No branches or pull requests

1 participant