-
Notifications
You must be signed in to change notification settings - Fork 758
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
Fix location crash #5084
Merged
+572
−316
Merged
Fix location crash #5084
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
7242f1c
Fix a crash when disabling the location on the device
bmarty db3f60b
Inform the user when the location provider is disabled.
bmarty e3242f0
Prevent the dialog from being cancellable, since OK button finish the…
bmarty e9b9406
Rework the location code - WIP
bmarty 1f53945
Rework the location code - WIP
bmarty 55ed737
Rework the location code - WIP
bmarty 26c0fee
Add a loader waiting for the user location to be known
bmarty 0f8c3bc
Try to get location by using all available providers.
onurays 4026ddb
Fix multiple pin rendering.
onurays 50279e3
Use static map image in timeline.
onurays 2dc52da
Use static map image in bottom sheet.
onurays e0ac8ee
No need for an extra FrameLayout
bmarty eff6942
Use a MaterialCarView
bmarty 2ce3894
Create a UrlMapProvider for a better handling of RTL languages, and b…
bmarty b14e557
Use the existing item click mechanism
bmarty 83ed80e
Rename fun for clarity
bmarty 303a858
Create an extension, improve the parsing algorithm, add robustness an…
bmarty 99f82d9
Avoid taking into account network location if we have gps location.
bmarty a8c251f
Avoid taking into account any provider location if we have gps location.
bmarty 2fbb434
Format
bmarty ecd41d3
network "not live" lcoation can be more accurate than GPS "not live" …
bmarty 4e3c730
Changelog
bmarty 8ee23c1
Merge branch 'develop' into feature/bma/location_crash
bmarty File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
network "not live" lcoation can be more accurate than GPS "not live" …
…location. So do not ignore them. Not sure how if this is a universal rule...
- v1.6.30
- v1.6.28
- v1.6.26
- v1.6.24
- v1.6.22
- v1.6.20
- v1.6.18
- v1.6.16
- v1.6.14
- v1.6.12
- v1.6.10
- v1.6.8
- v1.6.6
- v1.6.5
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.32
- v1.5.30
- v1.5.28
- v1.5.26
- v1.5.25
- v1.5.24
- v1.5.22
- v1.5.20
- v1.5.18
- v1.5.16
- v1.5.14
- v1.5.13
- v1.5.12
- v1.5.11
- v1.5.10
- v1.5.8
- v1.5.7
- v1.5.6
- v1.5.4
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.36
- v1.4.34
- v1.4.32
- v1.4.31
- v1.4.30
- v1.4.28
- v1.4.27
- v1.4.27-RC2
- v1.4.26
- v1.4.25
- v1.4.24
- v1.4.22
- v1.4.20
- v1.4.19
- v1.4.18
- v1.4.16
- v1.4.14
- v1.4.13
- v1.4.12
- v1.4.11
- v1.4.10
- v1.4.8
- v1.4.7
- v1.4.6
- v1.4.4
- v1.4.2
- v1.4.0
- v1.3.18
- v1.3.17
commit ecd41d38260507eed54f370dcd429017cc1d31a3
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it OK to call this multiple times this
fun
and call only oncelocationManager?.removeUpdates(this)
inonStop
? Maybe yes but I want to be sure.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you can see the location icon on Status Bar is disappearing when fragment is destroyed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah didn't notice that. It does not disappear on my side
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I have to put the entire app into bg to make it disappear to be more precise.