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

Sending Broadcast Container test #3

Open
blundell opened this issue Jun 14, 2021 · 0 comments
Open

Sending Broadcast Container test #3

blundell opened this issue Jun 14, 2021 · 0 comments

Comments

@blundell
Copy link

https://github.com/su-vikas/conbeerlib/blob/master/conbeerlib/src/main/java/com/suvikas/conbeer/ConBeer.java#L401

intent.setPackage("com.container.com.suvikas.conware");

This is the package you use when attempting to start the broadcast receiver. Is this a typo or correct? Does it have something to do with running in a container?

(Usually optional) Set an explicit application package name that limits the components this Intent will resolve to. If left to the default value of null, all components in all applications will considered. If non-null, the Intent can only match the components in the given application package.

It seems from the code, you want this broadcast to be received and that's how you show it's not a container. But with the above package name, isn't it always going to fail? (and thus think it's a container when its not)

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