camera: Fixup capability only on back camera

scene modes & metering is not supported on front camera

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
camera: Fix exposure compensation steps

Also enable panorama angles only on back camera

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
camera: Don't advertise hdr scene mode

our camera doesn't support hardware hdr so let's fall back to software hdr
also permanently enable image stabilization

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
power: Tweak ondemand sampling_rate

Taken from CAF msm7x30

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Remove the readahead script

This sh*t probably causes the music cuts users are reporting,
instead of improving the situation

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Define BOARD_KERNEL_PAGESIZE
camera: remove unstable features

* Remove metering mode, doesn't work
* Remove image stabilization, breaks camera
camera: HACK: Turn off torch on camera close

Fixes urushi torch remaining on on camera close bug
Remove location providers

Already defined in CM vendor
Enable fading text edges
camera: clean up wrapper code

* Clean up formatting, warnings, style, logging, etc.

Change-Id: Ie0757befa341e209e2b552b42bffee6b52d8df0a
camera: Remove ZSL related code

We are probably safe to remove this workaround for ZSL cameras
Enable zRAM by default at 18%
Remove animated bootlogo

We need more space in /boot partition
BoardConfig: Use Qualcomm optimizations for Bionic libs

By enabling TARGET_USE_KRAIT_BIONIC_OPTIMIZATION, there are
noticeable improvements in terms of performance.
This option allows to use optimized assembly routines for
some math operations (sin, cosin, e_power, e_sqrt, e_sqrtf)
for bionic libm library.

Change-Id: I6c897ba2362106f63a2121b54597e6fac470592f
camera: use hw_get_module_by_class

* Get rif of the HW ID match check hack
* Remove obsolete cflag

Change-Id: I24f3273b67a9afc65d48fedd9ceeb9862415506b
camera: Fix video recording on camera wrapper side

Change-Id: I9a77e842db6f9a228d658adf04b0caa07ae6eda9
power: Remove SmartassH3 references

Change-Id: Iafcf4aa7d4196ce3412494d03e6856ad1e2c85a6
liblights: Use standard HAL API versions

Change-Id: I09c79759dbf5b7352dce647368364df39ef435e3
Read only 1 page cluster at a time

Change-Id: Id0600c5fc2e45b9de701256dc490275d4f3ff51e
(cherry picked from commit 6c74041c29435991dad01b1e8e6e146d4048ce49)