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

为什么Receiver不允许进行BindService #36

Open
zengjingfang opened this issue Jun 6, 2018 · 0 comments
Open

为什么Receiver不允许进行BindService #36

zengjingfang opened this issue Jun 6, 2018 · 0 comments
Assignees
Labels

Comments

@zengjingfang
Copy link
Owner

http://gityuan.com/2017/04/09/android_context/

当Context为Receiver的情况下:

不允许执行bindService()操作, 由于限制性上下文(ReceiverRestrictedContext)所决定的,会直接抛出异常.

@zengjingfang zengjingfang self-assigned this Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Android开发历险记
  
Awaiting triage
Development

No branches or pull requests

1 participant