Merge "Properly log see more event for row view"
diff --git a/slices/view/src/main/java/androidx/app/slice/widget/RowView.java b/slices/view/src/main/java/androidx/app/slice/widget/RowView.java
index 8e5bcc6..54218d4 100644
--- a/slices/view/src/main/java/androidx/app/slice/widget/RowView.java
+++ b/slices/view/src/main/java/androidx/app/slice/widget/RowView.java
@@ -471,6 +471,11 @@
@Override
public void onClick(View v) {
try {
+ if (mObserver != null) {
+ EventInfo info = new EventInfo(getMode(), EventInfo.ACTION_TYPE_SEE_MORE,
+ EventInfo.ROW_TYPE_LIST, mRowIndex);
+ mObserver.onSliceAction(info, mRowContent.getSlice());
+ }
mRowContent.getSlice().getAction().send();
} catch (CanceledException e) {
Log.w(TAG, "PendingIntent for slice cannot be sent", e);