klte-common: Enable video snapshot
Change-Id: I2db8c9bb449370f6d0e2b9cb6b5d87e4714227f8
This commit is contained in:
parent
641137bd65
commit
1fb8c996a6
1 changed files with 3 additions and 0 deletions
|
@ -122,6 +122,9 @@ static char *camera_fixup_getparams(int __attribute__((unused)) id,
|
||||||
params.set(KEY_VIDEO_HFR_VALUES, tmp);
|
params.set(KEY_VIDEO_HFR_VALUES, tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Enforce video-snapshot-supported to true */
|
||||||
|
params.set(android::CameraParameters::KEY_VIDEO_SNAPSHOT_SUPPORTED, "true");
|
||||||
|
|
||||||
android::String8 strParams = params.flatten();
|
android::String8 strParams = params.flatten();
|
||||||
char *ret = strdup(strParams.string());
|
char *ret = strdup(strParams.string());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue