Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Multiple Processes #232

Merged
merged 5 commits into from
Jul 6, 2017
Merged

Multiple Processes #232

merged 5 commits into from
Jul 6, 2017

Conversation

sarahsnow1
Copy link
Contributor

@sarahsnow1 sarahsnow1 commented Jul 5, 2017

Overview

Updates the service delegate to allow multiple remote callbacks (previously only one was allowed).

Proposed Changes

These changes update the service delegate to hold a Map of IFusedLocationProviderCallbacks keyed off of the process id they were created in. This PR also updates LocationRequest to include a pid property to allow multiple processes to request & remove location updates for the same location parameters (interval, priority, etc) without effecting the other processes. Finally, it adds an example to the sample app to demonstrate using Lost in a Service running in its own process as well as an Activity running within the main process.

Closes #228

Copy link

@tallytalwar tallytalwar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@msmollin msmollin merged commit 1b40deb into master Jul 6, 2017
@msmollin msmollin deleted the 228-multiple-processes branch July 6, 2017 15:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants