Fix Amazon Prime Video sign in failure caused by register_resource_paths
feature flag. Amazon Prime Video got sign in failures consistently after register_resource_paths enabled in trunkfood. This is because the app itself created some Resources instances from Resources constructor directly and are not managed by ResourcesManager, and also will not append proper asset paths after shared library registered. To fix this, this CL introduced another list to collect references of all Resources and another redirect function to help to reload ResourcesImpl only for shared library asset paths update. Bug: b/330286700 Test: Added and verified all affected tests pass, also passed manual test. Change-Id: Ie22b2ebf8708535af3f6cfbec4209f9f99b48ff2
Loading
Please register or sign in to comment