Do not add GPS location to EXIF for Android 6 devices
This commit is contained in:
parent
be847edb02
commit
fed0066590
1 changed files with 1 additions and 4 deletions
|
@ -1200,12 +1200,9 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
|||
// camera focus type
|
||||
autofocus = true;
|
||||
parameters.removeGpsData();
|
||||
String locProvider = mapActivity.getMapViewTrackingUtilities().getLocationProvider();
|
||||
if (!Algorithms.isEmpty(locProvider)) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
|
||||
parameters.setGpsLatitude(lat);
|
||||
parameters.setGpsLongitude(lon);
|
||||
parameters.setGpsProcessingMethod(locProvider.toUpperCase());
|
||||
parameters.setGpsTimestamp(System.currentTimeMillis() / 1000);
|
||||
}
|
||||
switch (AV_CAMERA_FOCUS_TYPE.get()) {
|
||||
case AV_CAMERA_FOCUS_HIPERFOCAL:
|
||||
|
|
Loading…
Reference in a new issue