summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBjorn Bringert <bringert@android.com>2010-02-08 21:38:38 +0000
committerBjorn Bringert <bringert@android.com>2010-02-08 21:46:38 +0000
commitc660fe4dd8b146c1d88d839bd5b26c916684fac4 (patch)
tree44c1eb28482130c1ba239ea559aa385377f4e31b /src
parentf4d298013ceeca4b44d63d01587a33cb6bbf7f52 (diff)
downloadLegacyCamera-c660fe4dd8b146c1d88d839bd5b26c916684fac4.zip
LegacyCamera-c660fe4dd8b146c1d88d839bd5b26c916684fac4.tar.gz
LegacyCamera-c660fe4dd8b146c1d88d839bd5b26c916684fac4.tar.bz2
Remove use of Settings.Secure.USE_LOCATION_FOR_SERVICES
This Google-specific setting is going away because of unbundling. This change will cause geotagging to be off by default, instead of being set by SetupWizard by the "Use location for Google services" prompt. If this is not desirable, another prompt could possibly be added to SetupWizard, or a new framework geotagging setting could be added and SetupWizard be modified to set that as part of the Google location opt-in. Part of: http://b/issue?id=2383870 Change-Id: Ic160c2260dd597a35d79fec93250a816fbee8b81
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/RecordLocationPreference.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/camera/RecordLocationPreference.java b/src/com/android/camera/RecordLocationPreference.java
index 552e739..95c1fbf 100644
--- a/src/com/android/camera/RecordLocationPreference.java
+++ b/src/com/android/camera/RecordLocationPreference.java
@@ -50,10 +50,6 @@ public class RecordLocationPreference extends ListPreference {
public static boolean get(
SharedPreferences pref, ContentResolver resolver) {
String value = pref.getString(KEY, VALUE_NONE);
- if (VALUE_NONE.equals(value)) {
- return Settings.Secure.getInt(resolver,
- Settings.Secure.USE_LOCATION_FOR_SERVICES, 0) != 0;
- }
return VALUE_ON.equals(value);
}
}