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

Why create mContext in GeoFencingService? #59

Open
spitfire55 opened this issue Aug 9, 2020 · 0 comments
Open

Why create mContext in GeoFencingService? #59

spitfire55 opened this issue Aug 9, 2020 · 0 comments

Comments

@spitfire55
Copy link

Might be a dumb question, but I'm curious why mContext needs to be saved as a class variable in GeoFencingService? Since JobIntentService has its own context, why do you use mContext.startForegroundService in the onMethodCall function instead of this.startForegroundService?

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