diff options
author | codeworkx <codeworkx@cyanogenmod.org> | 2013-01-17 19:49:43 +0000 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.org> | 2013-01-17 19:49:43 +0000 |
commit | f6e43225a49d14848191804f38d56eeaa871074b (patch) | |
tree | a52407d27245ad480853e256d8a7ba2c9c6ebfed | |
parent | d3a769955145c3876d23f32f82ffb8e7e6952907 (diff) | |
download | device_samsung_smdk4412-common-f6e43225a49d14848191804f38d56eeaa871074b.zip device_samsung_smdk4412-common-f6e43225a49d14848191804f38d56eeaa871074b.tar.gz device_samsung_smdk4412-common-f6e43225a49d14848191804f38d56eeaa871074b.tar.bz2 |
smdk4412: set cityid parameter for t0lte camera hal
Change-Id: I873220f4aa4ad3201284ef4706042d1af16e89e1
-rw-r--r-- | camerawrapper/CameraWrapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/camerawrapper/CameraWrapper.cpp b/camerawrapper/CameraWrapper.cpp index b6a5c88..0b7fd2e 100644 --- a/camerawrapper/CameraWrapper.cpp +++ b/camerawrapper/CameraWrapper.cpp @@ -126,6 +126,10 @@ char * camera_fixup_setparams(int id, const char * settings) params.set(android::CameraParameters::KEY_ISO_MODE, "800"); } +#ifdef CAMERA_WITH_CITYID_PARAM + params.set(android::CameraParameters::KEY_CITYID, 0); +#endif + android::String8 strParams = params.flatten(); char *ret = strdup(strParams.string()); |