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/VideoUI.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/VideoUI.java')
-rw-r--r-- | src/com/android/camera/VideoUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java index c68d895ea..e853783a6 100644 --- a/src/com/android/camera/VideoUI.java +++ b/src/com/android/camera/VideoUI.java @@ -721,7 +721,7 @@ public class VideoUI implements PieRenderer.PieListener, public void updateOnScreenIndicators(Parameters param, ComboPreferences prefs) { mOnScreenIndicators.updateFlashOnScreenIndicator(param.getFlashMode()); - boolean location = RecordLocationPreference.get(prefs); + boolean location = RecordLocationPreference.get(prefs, CameraSettings.KEY_RECORD_LOCATION); mOnScreenIndicators.updateLocationIndicator(location); } |