Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 104078c8 authored by Christoph Studer's avatar Christoph Studer Committed by Android (Google) Code Review
Browse files

Merge "SysUI: Never log GONE notifications as visible" into lmp-mr1-dev

parents e6cd9daf 12cf9e51
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -367,6 +367,9 @@ public class NotificationStackScrollLayout extends ViewGroup
        if (childViewState == null) {
        if (childViewState == null) {
            return ViewState.LOCATION_UNKNOWN;
            return ViewState.LOCATION_UNKNOWN;
        }
        }
        if (childViewState.gone) {
            return ViewState.LOCATION_GONE;
        }
        return childViewState.location;
        return childViewState.location;
    }
    }


+2 −0
Original line number Original line Diff line number Diff line
@@ -234,6 +234,8 @@ public class StackScrollState {
        public static final int LOCATION_MAIN_AREA = 0x08;
        public static final int LOCATION_MAIN_AREA = 0x08;
        public static final int LOCATION_BOTTOM_STACK_PEEKING = 0x10;
        public static final int LOCATION_BOTTOM_STACK_PEEKING = 0x10;
        public static final int LOCATION_BOTTOM_STACK_HIDDEN = 0x20;
        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 alpha;
        float yTranslation;
        float yTranslation;