Fixed a potential issue where a notification could be empty
Change-Id: Ic4b294092a47d30c469dfbd1eb6ab31208533b1c Fixes: 29158425
This commit is contained in:
@ -1307,6 +1307,10 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
|
||||
if (!animated) {
|
||||
mPublicLayout.animate().cancel();
|
||||
mPrivateLayout.animate().cancel();
|
||||
if (mChildrenContainer != null) {
|
||||
mChildrenContainer.animate().cancel();
|
||||
mChildrenContainer.setAlpha(1f);
|
||||
}
|
||||
mPublicLayout.setAlpha(1f);
|
||||
mPrivateLayout.setAlpha(1f);
|
||||
mPublicLayout.setVisibility(mShowingPublic ? View.VISIBLE : View.INVISIBLE);
|
||||
|
Reference in New Issue
Block a user