Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: TaskStackBuilder for cast notification #105

Open
Ethan1983 opened this issue Apr 1, 2021 · 1 comment
Open

[Question]: TaskStackBuilder for cast notification #105

Ethan1983 opened this issue Apr 1, 2021 · 1 comment

Comments

@Ethan1983
Copy link

Ethan1983 commented Apr 1, 2021

Is there any way to specify a task stack builder for cast notification. Currently, it looks like only the target activity can be specified. It doesn't let app specify a back stack for navigation though?

https://developers.google.com/android/reference/com/google/android/gms/cast/framework/media/NotificationOptions.Builder#setTargetActivityClassName(java.lang.String)

https://developer.android.com/reference/android/app/TaskStackBuilder

@Ethan1983
Copy link
Author

Parent activity specified in manifest helps with one activity below target activity in the stack but what if apps would like other activities below target activity (ExpandedControlsActivity)?

            <meta-data
                    android:name="android.support.PARENT_ACTIVITY"
                    android:value="com.google.sample.cast.refplayer.VideoBrowserActivity"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant