Hello, people,
I have a problem when obtaining the location, see the attached figure.
1 - If it is not enabled (passive), (1.1) I enable it, (1.2) but it does not end the routine.
If I already have the location (GPS), (2.1) Do not end the routine.
If you do not have a provider, do not leave the routine.