Add basic integration tests for shelf

This adds tests for the behaviour of the notification shelf when there is an overflow of notifications.

Test: atest ShelfInvisibleWithLowNotifications && atest ShelfVisibleAtTheBottom
Bug: 227733494
Change-Id: I67eb243c4d1745a9f61bd4a7f2f785bce8d1c095
This commit is contained in:
Nicolo' Mazzucato 2022-04-01 11:16:32 +00:00
parent 3f31afd1cf
commit a456b2dddc

View File

@ -17,6 +17,7 @@
<!-- Extends FrameLayout -->
<com.android.systemui.statusbar.NotificationShelf
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/notificationShelf"
android:layout_width="match_parent"
android:layout_height="@dimen/notification_shelf_height"
android:focusable="true"