Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95495bd7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Passing meatadata from RemoteComposeDocument back to sender upon user...

Merge "Passing meatadata from RemoteComposeDocument back to sender upon user interaction." into main
parents 73f32df6 74916851
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -5820,8 +5820,13 @@ public class RemoteViews implements Parcelable, Filter {
                        mActions.forEach(action -> {
                            if (viewId == action.mViewId
                                    && action instanceof SetOnClickResponse setOnClickResponse) {
                                setOnClickResponse.mResponse.handleViewInteraction(
                                        player, params.handler);
                                final RemoteResponse response = setOnClickResponse.mResponse;
                                if (response.mFillIntent == null) {
                                    response.mFillIntent = new Intent();
                                }
                                response.mFillIntent.putExtra(
                                        "remotecompose_metadata", metadata);
                                response.handleViewInteraction(player, params.handler);
                            }
                        });
                    });