findAndMutate

Search for, mutate, and return a FocusRingDrawable if it is either the provided drawable or one level deep in a DrawableWrapper or LayerDrawable.

If the FocusRingDrawable is a child of a DrawableWrapper or LayerDrawable, then the parent DrawableWrapper or LayerDrawable will be mutated instead of the FocusRingDrawable. This will in turn recreate and mutate the child FocusRingDrawable, which helps prevent issues related to constant state.

Also see find.