diff options
author | Abhishek Pant <apant@codeaurora.org> | 2015-06-01 15:18:39 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-06-01 03:30:11 -0700 |
commit | 3c316726646af20cb7c6f633ec3215f10286f3b4 (patch) | |
tree | 68260c8cbd7caa5d5cf954a755fa4183b9648e3c /src/com | |
parent | 4a7c63364c6e1a551d11921770269b6aec654aa5 (diff) | |
download | android_packages_apps_Snap-3c316726646af20cb7c6f633ec3215f10286f3b4.tar.gz android_packages_apps_Snap-3c316726646af20cb7c6f633ec3215f10286f3b4.tar.bz2 android_packages_apps_Snap-3c316726646af20cb7c6f633ec3215f10286f3b4.zip |
SnapdragonCamera: To pass Auto HDR status using string
Made changes to pass Auto HDR enable/disable status
from Applicaiton to HAL using string instead of key
Change-Id: I6e8d1b83e10b390f4d5a8eee113238797316e821
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/camera/PhotoModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/PhotoModule.java b/src/com/android/camera/PhotoModule.java index cc443e334..cb825eeba 100644 --- a/src/com/android/camera/PhotoModule.java +++ b/src/com/android/camera/PhotoModule.java @@ -3126,7 +3126,7 @@ public class PhotoModule String auto_hdr = mPreferences.getString(CameraSettings.KEY_AUTO_HDR, mActivity.getString(R.string.pref_camera_hdr_default)); if (CameraUtil.isAutoHDRSupported(mParameters)) { - mParameters.setAutoHDRMode(auto_hdr); + mParameters.set("auto-hdr-enable",auto_hdr); if (auto_hdr.equals("enable")) { mActivity.runOnUiThread(new Runnable() { public void run() { |