Fixed a bug where the intrinsic height was not updated
Change-Id: I2c171aff6eb30418121f0ca77e71045b0b61c9b2
This commit is contained in:
@@ -181,8 +181,12 @@ public class ExpandableNotificationRow extends ActivatableNotificationView {
|
||||
}
|
||||
|
||||
public void setHeadsUp(boolean isHeadsUp) {
|
||||
int intrinsicBefore = getIntrinsicHeight();
|
||||
mIsHeadsUp = isHeadsUp;
|
||||
mPrivateLayout.setHeadsUp(isHeadsUp);
|
||||
if (intrinsicBefore != getIntrinsicHeight()) {
|
||||
notifyHeightChanged(false /* needsAnimation */);
|
||||
}
|
||||
}
|
||||
|
||||
public void setGroupManager(NotificationGroupManager groupManager) {
|
||||
|
||||
Reference in New Issue
Block a user