Merge "Fixed a flickering when expanding and the notifications updates" into nyc-dev

am: 4ad13b3340

* commit '4ad13b334057dc541168d4ffdaf61a63b5fb6864':
  Fixed a flickering when expanding and the notifications updates

Change-Id: I99cfb8a7baed888eceeacc44f12cc128d2aec6e1
This commit is contained in:
Selim Cinek
2016-05-04 23:38:59 +00:00
committed by android-build-merger

View File

@@ -392,6 +392,9 @@ public class NotificationContentView extends FrameLayout {
mVisibleType = visibleType;
updateBackgroundColor(true /* animate */);
}
if (mForceSelectNextLayout) {
forceUpdateVisibilities();
}
if (mTransformationStartVisibleType != UNDEFINED
&& mVisibleType != mTransformationStartVisibleType
&& getViewForVisibleType(mTransformationStartVisibleType) != null) {
@@ -508,9 +511,6 @@ public class NotificationContentView extends FrameLayout {
updateBackgroundColor(animate);
}
}
if (mForceSelectNextLayout) {
forceUpdateVisibilities();
}
}
private void forceUpdateVisibilities() {