Fixed a flickering when expanding and the notifications updates

Change-Id: Idda8f5cfc61c3c561963eb3ccfffece9fbf5cde3
Fixes: 28557444
This commit is contained in:
Selim Cinek
2016-05-03 16:42:50 -07:00
parent def35a8653
commit e85788710a

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() {