diff options
author | Jeff DeCew <jeffdq@google.com> | 2020-11-30 14:51:38 -0500 |
---|---|---|
committer | Jeff DeCew <jeffdq@google.com> | 2020-11-30 15:39:24 -0500 |
commit | 8610de5c2661565121c4f60c1f05288f0ee5d30c (patch) | |
tree | 442255b8ff39c90451ec80f39b1ae5009121768b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b00728fd4a127db43242593477e91c7fa3ac634b (diff) |
Fix NPE that can occur on uiMode change if a group has a single child.
Note that the ternary null check inside init is not necessary given the other change, but seems prudent.
Fixes: 173777455
Fixes: 173650635
Test: manual -- use go/notify-apk to post a group of 2, dismiss 1, change font size. Observe SystemUI no longer crashes.
Change-Id: I71a820a1ed2ac7ec71c4d9f78855ff264c5d5051
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions