I just use a DrawablePatth to display a path inside a widget hierarchy.
The issue in the following
I have a drawable A as a widget in another component B
I set the position of this drawable in a resized function of B that it call by its parent.
Afterward the parent of B is added in another widget hierarchy (when my plugin is shown actually)
This results in the bounds of my drawable to be changed because of the code in parentHierarchyChanged that changes those.
If my plugin is already shown and I display the widget that contains the drawable, it works fine.
I doubt that changing the order of the widget hierarchy are added should change in any way the bounds of my drawable so I think this is a bug