Introduce a count for registered shared library on ResourcesImpl to
help to fix gmail crash. Gmail crashes consistently while copy pasting texts into the body of composing an email. This happened because previous design missed to handle an edge case when after a shared library have its asset paths registered, new created Resources could find an outdated ResourcesImpl cache which does not have the proper lib asset paths appended and reuse it. Introduced a count for shared library on ResourcesImpl to fix it. Bug: b/329915827 Test: Verified all affected tests pass and manually tested on device. Change-Id: I3183e5c8c20ac8f86501846e6f6dd82e035402fc
Loading
Please register or sign in to comment