Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/BundleEntry.java +0 −5 Original line number Diff line number Diff line Loading @@ -63,11 +63,6 @@ public class BundleEntry extends PipelineEntry { return null; } @Override public int getSectionIndex() { return 0; } @Nullable @Override public PipelineEntry getParent() { Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ListEntry.java +0 −4 Original line number Diff line number Diff line Loading @@ -66,10 +66,6 @@ public abstract class ListEntry extends PipelineEntry { return mPreviousAttachState.getParent(); } public int getSectionIndex() { return mAttachState.getSection() != null ? mAttachState.getSection().getIndex() : -1; } /** * Stores the current attach state into {@link #getPreviousAttachState()}} and then starts a * fresh attach state (all entries will be null/default-initialized). Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/PipelineEntry.java +3 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,9 @@ public abstract class PipelineEntry { /** * @return Index of section assigned to this entry. */ public abstract int getSectionIndex(); public int getSectionIndex() { return mAttachState.getSection() != null ? mAttachState.getSection().getIndex() : -1; } /** * @return Parent PipelineEntry Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/BundleEntry.java +0 −5 Original line number Diff line number Diff line Loading @@ -63,11 +63,6 @@ public class BundleEntry extends PipelineEntry { return null; } @Override public int getSectionIndex() { return 0; } @Nullable @Override public PipelineEntry getParent() { Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ListEntry.java +0 −4 Original line number Diff line number Diff line Loading @@ -66,10 +66,6 @@ public abstract class ListEntry extends PipelineEntry { return mPreviousAttachState.getParent(); } public int getSectionIndex() { return mAttachState.getSection() != null ? mAttachState.getSection().getIndex() : -1; } /** * Stores the current attach state into {@link #getPreviousAttachState()}} and then starts a * fresh attach state (all entries will be null/default-initialized). Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/PipelineEntry.java +3 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,9 @@ public abstract class PipelineEntry { /** * @return Index of section assigned to this entry. */ public abstract int getSectionIndex(); public int getSectionIndex() { return mAttachState.getSection() != null ? mAttachState.getSection().getIndex() : -1; } /** * @return Parent PipelineEntry Loading