Commit 102fbfb
committed
LocationPickerActivity.java: fix bug with permissions menu moving map
Prior to this change, if the menu asking for permissions to access the device's GPS was accepted, the map
would automatically move to the most recent or current GPS location, rather than staying at the uploaded
image's available EXIF location.
After this change, the map will stay centered at the image's available EXIF location, as intended.
The relevant method name and javadoc have been changed to more accurately describe the method's behavior.1 parent 8ca6348 commit 102fbfb
File tree
1 file changed
+5
-8
lines changed- app/src/main/java/fr/free/nrw/commons/LocationPicker
1 file changed
+5
-8
lines changedLines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
606 | 604 | | |
607 | 605 | | |
608 | 606 | | |
609 | | - | |
| 607 | + | |
610 | 608 | | |
611 | | - | |
| 609 | + | |
612 | 610 | | |
613 | 611 | | |
614 | 612 | | |
615 | 613 | | |
616 | 614 | | |
617 | 615 | | |
618 | 616 | | |
619 | | - | |
| 617 | + | |
| 618 | + | |
620 | 619 | | |
621 | | - | |
| 620 | + | |
622 | 621 | | |
623 | 622 | | |
624 | 623 | | |
625 | 624 | | |
626 | 625 | | |
627 | | - | |
628 | | - | |
629 | 626 | | |
630 | 627 | | |
631 | 628 | | |
| |||
0 commit comments