NotificationGuts test
Test: integration_test android.platform.test.scenario.notification.NotificationGuts
Bug: 139609145
Change-Id: Id800d0c7572acb7e6a3d73fe92f43caed8c1b1a8
diff --git a/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/INotificationHelper.java b/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/INotificationHelper.java
index cada5da..bda8aaf 100644
--- a/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/INotificationHelper.java
+++ b/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/INotificationHelper.java
@@ -78,4 +78,22 @@
public default void openNotificationByTitle(String title, String expectedPkg) {
throw new UnsupportedOperationException("Not yet implemented.");
}
+
+ /**
+ * Long press on notification to show its hidden menu (a.k.a. guts)
+ *
+ * @param notification Notification.
+ */
+ default void showGuts(UiObject2 notification) {
+ throw new UnsupportedOperationException("Not yet implemented.");
+ }
+
+ /**
+ * Taps the "Done" button on the notification guts.
+ *
+ * @param notification Notification.
+ */
+ default void hideGuts(UiObject2 notification) {
+ throw new UnsupportedOperationException("Not yet implemented.");
+ }
}