Fix external photo
This commit is contained in:
parent
4f307c70a2
commit
12682aa061
1 changed files with 5 additions and 1 deletions
|
@ -1018,7 +1018,11 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
|||
public void takePhoto(final double lat, final double lon, final MapActivity mapActivity) {
|
||||
if (ActivityCompat.checkSelfPermission(mapActivity, Manifest.permission.CAMERA)
|
||||
== PackageManager.PERMISSION_GRANTED) {
|
||||
takePhotoInternalOrExternal(lat, lon, mapActivity);
|
||||
if (AV_EXTERNAL_PHOTO_CAM.get()) {
|
||||
takePhotoExternal(lat, lon, mapActivity);
|
||||
} else {
|
||||
takePhotoInternalOrExternal(lat, lon, mapActivity);
|
||||
}
|
||||
} else {
|
||||
actionLat = lat;
|
||||
actionLon = lon;
|
||||
|
|
Loading…
Reference in a new issue