Merge "Fixed a flickering when expanding and the notifications updates" into nyc-dev am: 4ad13b3340

am: cf851a98de

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

Change-Id: I24b76c98081fe12e5e16d50752ad7e273fca0467
This commit is contained in:
Selim Cinek
2016-05-04 23:39:18 +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() {