diff options
author | Evan Laird <evanlaird@google.com> | 2019-05-30 16:00:22 -0400 |
---|---|---|
committer | Evan Laird <evanlaird@google.com> | 2019-05-30 16:20:18 -0400 |
commit | ce2d1afe86b6b4baf3919dc24f581e4a8630964f (patch) | |
tree | c6ca1863c9d3c37ae2e31d879bf3ba198d84cbb0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 782e511f495bfd4e161684305435c11b02dc7de4 (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