dlx: use hw_get_module_by_class

Change-Id: I05fe349d03465df56e34f797b5177bc37ed80129
dlx: camera: remove scene mode hacks

* HTC HAL now lists the HDR scene mode by default

Change-Id: Ia0328cc76f5a3630974adb286219e9cc3664258d
dlx: camera: remove preview size hack

* HTC HAL now sets the right value for video snapshot sizes

Change-Id: Id997325f0ae95bf696cbe4ac83032ca012b52998
dlx: camera: Fix crashes when changing cameras in video mode

Change-Id: I56437dac759694b6fc7eaa08e8ab3ea05a6469be
dlx: camera: set FFC focal length

Change-Id: I09305bb7896ad2278d4d1c39f75620fdcadf2f63
dlx: camera: Enable ZSL

Change-Id: Iacfbfb1dddea33ed655fa4a997494adc75be8208
dlx: Remove NEW_LIBRIL_HTC

As far as I can tell, this is for different HTC RIL proprietary libs.
When this was added it says it is for newer libhtc_ril.so.  We don't
have that proprietary lib.

Furthermore, this option is not being used for the M7 phones
which indicates we likely shouldn't be using it either.

Change-Id: Id08699b316f94e3707ef34fbec7630b6f8be5189
dlx: build.prop: Remove telephony.rilV7NeedCDMALTEPhone

With this build.prop entry, when booted with a GSM SIM card, the
phone fails to identify the GSM carrier correctly and disables
the APN networks menu in Settings.

After removing this setting, the phone boots and works automatically
for T-Mobile (and likely many more GSM services).

Change-Id: I6c92f0c87091fc7a3aeb59f3469929987e3693a8
Merge "dlx: use hw_get_module_by_class" into cm-11.0
Merge "dlx: camera: remove scene mode hacks" into cm-11.0
Merge "dlx: camera: remove preview size hack" into cm-11.0
Merge "dlx: camera: Fix crashes when changing cameras in video mode" into cm-11.0
Merge "dlx: camera: set FFC focal length" into cm-11.0
Merge "dlx: camera: Enable ZSL" into cm-11.0
Revert "dlx: camera: Fix crashes when changing cameras in video mode"

This was fixed properly in the camera app instead of hacking around
it here.

This reverts commit c3dcdf10698c5ff665e552727e9f0070e2676362.

Change-Id: I2e9d0272f709335f608b683d72fd5597c08a4ba9
dlx: camera: FFC doesn't like jpeg rotation

Prior to this change all video from the FFC was upside down since
the CAF camera merge.

The old camera code never set the rotation param for the FFC but
the new code does.  Just discard any rotation requested by the
camera code for video on the FFC.

Change-Id: If526437cac3acbaaedb12b1a39bedfd2ab32b5cf
dlx: camera: Update focal length based on web specs

The camera wrapper was simply copied from m7-common and we have
different camera hardware.  Adjust to our hardware.

Unfortunately, I cannot find any information about the focal
length of our FFC.

Change-Id: Id85c4d47352f025bdf870d8ed12b33d1595717d8
dlx: Add CM performance profile definitions

Change-Id: I3ae7bb84efd750625dafd89b679977d690f9f07f
dlx: change usbdisk write permission

Users are not able to write to /storage/usbdisk because they are not
part of the media_rw (1023) group. Remove the write restriction.

Change-Id: I147cb6be979a90da1699474f7d1ea401219615d5
Enable smooth-streaming video-playback

Change-Id: I7eb224ca547e4c7a1fb9120f98871f47eb349262