am 76f21de0: am 104078c8: Merge "SysUI: Never log GONE notifications as visible" into lmp-mr1-dev

* commit '76f21de029252758e7bd94a8fc0a67e6ae8ac943':
  SysUI: Never log GONE notifications as visible
This commit is contained in:
Christoph Studer
2014-10-31 15:03:53 +00:00
committed by Android Git Automerger
2 changed files with 5 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -234,6 +234,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;