You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TrimmableTypeMap] Add GetStaticMethodFallbackTypesCore override for desugared default interface methods #11045
TrimmableTypeMapTypeManager does not override GetStaticMethodFallbackTypesCore(). The legacy ManagedTypeManager overrides this to support Java 8+ default interface methods that are desugared by D8/R8:
Without this, calls to desugared default interface methods will fail with NoSuchMethodError at runtime when using the trimmable type map.
Fix
Add the same override to TrimmableTypeMapTypeManager. This is a 1-line method copy.
Impact
Any app using Java libraries with default interface methods (Java 8+ feature, very common in modern Android libraries like AndroidX) could be affected.
Activity