commit | 8610de5c2661565121c4f60c1f05288f0ee5d30c | [log] [tgz] |
---|---|---|
author | Jeff DeCew <jeffdq@google.com> | Mon Nov 30 14:51:38 2020 -0500 |
committer | Jeff DeCew <jeffdq@google.com> | Mon Nov 30 15:39:24 2020 -0500 |
tree | 442255b8ff39c90451ec80f39b1ae5009121768b | |
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