Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/NotificationTemplateViewWrapperTest.kt +4 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,7 @@ class NotificationTemplateViewWrapperTest : SysuiTestCase() { @Test fun actionViewDetached_pendingIntentListenersDeregistered() { ViewUtils.detachView(root) val pi = PendingIntent.getActivity( mContext, Loading @@ -182,6 +183,9 @@ class NotificationTemplateViewWrapperTest : SysuiTestCase() { createActionWithPendingIntent(spy) val wrapper = NotificationTemplateViewWrapper(mContext, view, row) wrapper.onContentUpdated(row) ViewUtils.attachView(root) looper.processAllMessages() ViewUtils.detachView(root) looper.processAllMessages() Loading Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/NotificationTemplateViewWrapperTest.kt +4 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,7 @@ class NotificationTemplateViewWrapperTest : SysuiTestCase() { @Test fun actionViewDetached_pendingIntentListenersDeregistered() { ViewUtils.detachView(root) val pi = PendingIntent.getActivity( mContext, Loading @@ -182,6 +183,9 @@ class NotificationTemplateViewWrapperTest : SysuiTestCase() { createActionWithPendingIntent(spy) val wrapper = NotificationTemplateViewWrapper(mContext, view, row) wrapper.onContentUpdated(row) ViewUtils.attachView(root) looper.processAllMessages() ViewUtils.detachView(root) looper.processAllMessages() Loading