Fix clipped notifications in sensitive mode
Remove unneeded return when mPublicLayout does not have children
Fixes: 228112945
Test: toggle between show all/sensitive/show none
press power button twice to go to lockscreen
=> correct lockscreen notification layouts shown
Change-Id: I24147461875d7e2322f790b57889c75f1aee5016
This commit is contained in:
@@ -2658,9 +2658,6 @@ public class ExpandableNotificationRow extends ActivatableNotificationView
|
||||
return;
|
||||
}
|
||||
|
||||
// bail out if no public version
|
||||
if (mPublicLayout.getChildCount() == 0) return;
|
||||
|
||||
if (!animated) {
|
||||
mPublicLayout.animate().cancel();
|
||||
mPrivateLayout.animate().cancel();
|
||||
|
||||
Reference in New Issue
Block a user