Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
I guess technically, the ProGuard rule should be on androidx.work.NonBlockingWorker subclasses, but I'd also be okay with just not using reflection to access the Worker(Context, WorkerParamters) constructor and skipping the need for a ProGuard rule at all.
Description
Component used: Fragment
Allow developers to detect the usage of
setUserVisibleHint()
.This would hook into calls to
setUserVisibleHint()
and apply the appropriate penalties if this detection was enabled.