diff options
author | weijiew <weijiew@codeaurora.org> | 2016-11-23 20:34:44 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-24 21:09:17 -0800 |
commit | fe55beed76f25d83cb89104947eb36b7e6417f5a (patch) | |
tree | 859b33364cad625c59431ef34bf7b8112e698b55 /src/com/android/camera/PhotoUI.java | |
parent | 92ea0735ed488f356fd9ae077df2629cc6f53e97 (diff) | |
download | android_packages_apps_Snap-fe55beed76f25d83cb89104947eb36b7e6417f5a.tar.gz android_packages_apps_Snap-fe55beed76f25d83cb89104947eb36b7e6417f5a.tar.bz2 android_packages_apps_Snap-fe55beed76f25d83cb89104947eb36b7e6417f5a.zip |
SnapdragonCamera: GPS location can't be turn On in camera settings
In Camera2, SharedPreferences persistes GPS location value by
key(pref_camera2_recordlocation_key), but gets GPS location value by
key(pref_camera_recordlocation_key).
CRs-Fixed: 1088262
Change-Id: I33ddeb8f20fed03449bded2760c0ad1b8e36c91c
Diffstat (limited to 'src/com/android/camera/PhotoUI.java')
-rw-r--r-- | src/com/android/camera/PhotoUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/PhotoUI.java b/src/com/android/camera/PhotoUI.java index 250bfa603..442c65d94 100644 --- a/src/com/android/camera/PhotoUI.java +++ b/src/com/android/camera/PhotoUI.java @@ -728,7 +728,7 @@ public class PhotoUI implements PieListener, // make sure the correct value was found // otherwise use auto index mOnScreenIndicators.updateWBIndicator(wbIndex < 0 ? 2 : wbIndex); - boolean location = RecordLocationPreference.get(prefs); + boolean location = RecordLocationPreference.get(prefs, CameraSettings.KEY_RECORD_LOCATION); mOnScreenIndicators.updateLocationIndicator(location); } |