diff options
| author | 2024-08-26 10:17:15 +0000 | |
|---|---|---|
| committer | 2024-08-26 10:17:15 +0000 | |
| commit | 7f51a27901fb05dbe79afe063d34e7c44c75f847 (patch) | |
| tree | 71d4b07a0f339546579a06bb2d5b78986a878ad3 | |
| parent | b72ba563ff617391d49e4a6ab3acb72537311b81 (diff) | |
| parent | 951c4f49d5cc504b7ae0077ea876158d9b4385dd (diff) | |
Merge "[Flexiglass] Verify isBelowLastNotification unused" into main
2 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java index a21059defaca..d0c51bc28126 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java @@ -4840,6 +4840,7 @@ public class NotificationStackScrollLayout } public boolean isBelowLastNotification(float touchX, float touchY) { + SceneContainerFlag.assertInLegacyMode(); int childCount = getChildCount(); for (int i = childCount - 1; i >= 0; i--) { ExpandableView child = getChildAtIndex(i); diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java index bfffbeda2e7a..c25b30db7754 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayoutController.java @@ -1235,6 +1235,7 @@ public class NotificationStackScrollLayoutController implements Dumpable { } public boolean isBelowLastNotification(float x, float y) { + SceneContainerFlag.assertInLegacyMode(); return mView.isBelowLastNotification(x, y); } |