Go to file
Phillip Berndt 7dff3c94cb klte-common: Fix HDR mode
This is a follow-up to Ifb15e64b4c351d7195e5ad3f5d5315419790d0f8.
The change fixed a crash upon deactivation of torch mode by removing
code that forecully set or unset Zero Shutter Lag. This change results
in HDR not working anymore, but SEGFAULTing the camera instead. The
commit addressed this by disabling HDR entirely.

The present change reinstates the removed code, but executes it
conditionally only if the camera is not in torch mode. This prevents the
crash upon disabling torch mode and simultaneously leaves HDR in a
working condition.

Torch mode can only be reliably detected when it is activated by checking
whether the requested settings have a "flash-mode" of "torch" set.
Deactivation simply asks to deactivate the flash, which cannot be told
apart from the camera app requesting the same before taking a photo. The
CameraWrapper however stores the current settings, so by checking if
they contain a "flash-mode" of "torch", it is still possible to detect
the mode's deactivation. The only possible problem with this approach
could arise if the camera went directly from torch mode to camera mode
with HDR, but this apparently does not happen.

Change-Id: I71611257868b3bf86041adf7aed931cf92880ddc
2017-01-20 17:29:34 +01:00
audio klte-common: enable deep buffer 2016-01-26 01:41:41 -08:00
bluetooth klte-common: tweak bt settings 2016-10-07 13:57:21 -07:00
camera klte-common: Fix HDR mode 2017-01-20 17:29:34 +01:00
configs klte-common: restore 2160p profile 2017-01-08 09:28:52 +01:00
fingerprint klte: Use new Fingerprint Hal without ValidityService 2016-10-03 18:55:15 -07:00
include klte-common: Override consumerir header 2016-12-14 11:19:53 -06:00
keylayout klte-common: Remove WAKE_DROPPED flags from keylayouts 2014-12-21 01:20:45 +00:00
libshims klte-common: switch to bullhead WV 2016-11-20 20:34:53 -07:00
nfc klte-common: Add buildable libpn547_fw 2016-11-07 05:27:49 -07:00
overlay klte-common: Re-enable blur 2017-01-19 18:27:31 -07:00
power klte-common: Add PowerHAL extension for touchscreen 2014-09-12 09:58:42 -07:00
recovery Fix recovery key file for use with latest CWM 2014-05-08 14:10:42 -07:00
ril/telephony/java/com/android/internal/telephony klte-common: Move all the shims to libshim 2016-11-09 08:15:39 -07:00
rootdir klte-common: Fix file contexts related to our telephony symlink mess 2017-01-11 08:12:59 -07:00
sepolicy klte-common: Fix file contexts related to our telephony symlink mess 2017-01-11 08:12:59 -07:00
Android.mk klte-common: Add kltekor to makefile guards 2016-12-09 20:40:52 -08:00
BoardConfigCommon.mk klte-common: Remove vsync phase offsets 2016-12-14 13:22:43 -06:00
README klte-common: Create klte common tree 2014-08-27 00:53:53 -07:00
cm.dependencies Revert "klte-common: Load BoringSSL compatibility library" 2015-11-14 00:59:28 -08:00
common-proprietary-files.txt klte-common: Add GPS blobs to common-proprietary-files.txt 2016-12-27 10:10:12 -07:00
extract-files.sh klte-common: Use generic extract scripts 2016-08-30 22:54:52 -07:00
klte.mk klte-common: Import GPS-related configutation files into device tree 2016-12-27 11:59:03 -07:00
setup-makefiles.sh klte-common: set INITIAL_COPYRIGHT_YEAR in setup-makefiles.sh 2017-01-16 21:55:19 -07:00
system_prop.mk klte-common: Enable legacy mediaserver 2016-11-07 05:28:46 -07:00

README

Copyright 2014 - The CyanogenMod Project

Common device configuration for Samsung Galaxy S5.

WORK IN PROGRESS. WILL EAT YOUR CAT.