summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFilip Pavlis <pavlis@google.com>2019-02-06 12:32:57 +0000
committerFilip Pavlis <pavlis@google.com>2019-02-06 12:32:57 +0000
commitcfb30af1182efed17a61a1c6848d5e1bc9060f1d (patch)
treeecbef4c56059f97d8cf9ab23ad99c79f1ac498f1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentfe9f8eb8345203b689628c91bf7eab36a6bd2f77 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions