SysUI: Never log GONE notifications as visible
Bug: 18170453 Change-Id: I58a3990b481889fe4a1370e1eaa88058df53079d
This commit is contained in:
@@ -367,6 +367,9 @@ public class NotificationStackScrollLayout extends ViewGroup
|
||||
if (childViewState == null) {
|
||||
return ViewState.LOCATION_UNKNOWN;
|
||||
}
|
||||
if (childViewState.gone) {
|
||||
return ViewState.LOCATION_GONE;
|
||||
}
|
||||
return childViewState.location;
|
||||
}
|
||||
|
||||
|
||||
@@ -236,6 +236,8 @@ public class StackScrollState {
|
||||
public static final int LOCATION_MAIN_AREA = 0x08;
|
||||
public static final int LOCATION_BOTTOM_STACK_PEEKING = 0x10;
|
||||
public static final int LOCATION_BOTTOM_STACK_HIDDEN = 0x20;
|
||||
/** The view isn't layouted at all. */
|
||||
public static final int LOCATION_GONE = 0x40;
|
||||
|
||||
float alpha;
|
||||
float yTranslation;
|
||||
|
||||
Reference in New Issue
Block a user