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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user