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: I56fd0d3bfef07dbaacdfd96a1cf38c3dba3b10f2
This commit is contained in:
Selim Cinek
2016-05-04 23:34:19 +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() {