Fixed a bug where a wrong notification could be visible
Because we were not looking at the wrong state and ignoring gone. Test: add 4 notifications, pull down and tap on bottom continuously Change-Id: Ic4370fa89525802ed99377da215085d84642a174
This commit is contained in:
@@ -594,7 +594,7 @@ public class ViewState {
|
||||
}
|
||||
|
||||
protected void onYTranslationAnimationFinished(View view) {
|
||||
if (hidden) {
|
||||
if (hidden && !gone) {
|
||||
view.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user