Help
Change theme
Press space for more information.
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Copy issue ID
Show links for this issue (Shortcut: i, l)
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
View issue level access limits(Press Alt + Right arrow for more information)
Pending code changes (auto-populated)
Attachment actions
Notification menu
Vote: I am impacted
Unintended behavior
View staffing
Description
The problem is that the rules are
-keep class * implements android.arch.lifecycle.LifecycleObserver {
}
which are overly-keepy. Despite saying 'class', it actually matches classes and interfaces which causes the other interfaces in the library to be kept even when unused (see attachment).
The rule should be changed to:
-keep !interface * implements android.arch.lifecycle.LifecycleObserver
which will prevent any unused interfaces from being kept which are subtypes of lifecycle observer and instead only retain actual classes.