summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Laird <evanlaird@google.com>2019-05-30 16:00:22 -0400
committerEvan Laird <evanlaird@google.com>2019-05-30 16:20:18 -0400
commitce2d1afe86b6b4baf3919dc24f581e4a8630964f (patch)
treec6ca1863c9d3c37ae2e31d879bf3ba198d84cbb0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent782e511f495bfd4e161684305435c11b02dc7de4 (diff)
Fix always-null children on NotificationEntry
Looks like _someone_ decided to make an array of children and _never_ poplate it. What used to happen was that callers into NotificationEntry would grab the row and call ExpandableNotificationRow#getNotificationChildren() on it to iterate the children and call things (notably setKeepInParent()). During the work to refactor NotficationEntry into its own class, NotificationEntry#getChildren() was created so that we could iterate the entry's children instead of the view's children. Unfortunately it was never populated. For now, just call through to ExpandableNotificationRow#getNotificationChildren() and map those to their entries. Fixes: 130018576 Test: atest SystemUITests; visual Change-Id: Ica629b96c8fa2ee2fb45fdf588ee7d1efc836883
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions