Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cfb30af1 authored by Filip Pavlis's avatar Filip Pavlis
Browse files

Restrict access to View's hierarchy listener.

The private field should not be used directly. There is a setter for it
called setOnHierarchyChangeListener that allows to provide listener
implementation. The callback should not be called outside of ViewGroup
as ViewGroup also calls onViewAdded / onViewRemoved. In case the
reference to the callback is really needed, the developer can override
the setter.

Bug: b/123768704
Test: N/A
Change-Id: Idfc9c656d496b4e3e2c134a1d5e2c95f15099f51
parent fe9f8eb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment