summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin Han <kevhan@google.com>2020-01-30 16:26:05 -0800
committerKevin Han <kevhan@google.com>2020-01-31 11:53:31 -0800
commit59609424f72ffb34f7ae482c0da43f0e1139ea6e (patch)
tree93bc764454d3f75575205de71e0b23e8a8203d78 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentffcdce33365409db9b9a36b4570ac6b4f3306034 (diff)
Add init/cleanup hooks to notif listeners.
As we refactor more state out of NotificationEntry, we need a place to initialize/delete this state in its respective manager. Add/remove is not appropriate for this as some add callbacks will call into other managers which may have not had a chance to initialize their state yet since we have no guarantee of ordering. So instead, we break out a init and cleanup callback from add and remove respectively where listeners can use it to do any initialization. Test: atest NotifCollectionTest Change-Id: If2233f8f4058c91dcf3d6ede61deae656e47c728
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions