summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRay Chen <raychen@google.com>2010-02-25 11:32:12 +0800
committerRay Chen <raychen@google.com>2010-03-05 03:08:09 +0800
commit2ab82979d1701477f8aee1f78919c77edb4e1eaa (patch)
treebbfe0b590a894a94f93e4852df8706836916547d /src
parentded913e44381117f5ea420fb9df707d97cfccb5a (diff)
downloadLegacyCamera-2ab82979d1701477f8aee1f78919c77edb4e1eaa.zip
LegacyCamera-2ab82979d1701477f8aee1f78919c77edb4e1eaa.tar.gz
LegacyCamera-2ab82979d1701477f8aee1f78919c77edb4e1eaa.tar.bz2
Add location provider name to gps-processing-method parameter.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/Camera.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 9989bac..cc27f49 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -843,6 +843,7 @@ public class Camera extends NoSearchActivity implements View.OnClickListener,
if (hasLatLon) {
mParameters.setGpsLatitude(lat);
mParameters.setGpsLongitude(lon);
+ mParameters.setGpsProcessingMethod(loc.getProvider().toUpperCase());
if (loc.hasAltitude()) {
mParameters.setGpsAltitude(loc.getAltitude());
} else {