d2: Add configuration for panel auto-brightness mode

 * D2 needs the sysfs knob set to 1 to enable proper gamma
   configuration.

Change-Id: I2bbd66cf89a8234af884469884eaf34eb2488b7a
Merge "d2: Add configuration for panel auto-brightness mode" into cm-10.1
d2: Add media profile and fix a crash

 * We were crashing if the user selected 1080p recording on the front
   camera, which hilariously leaves the hardware in a state that can't
   be easily recovered from without rebooting.
 * Update the profile configuration, and remove 1080p from the front
   camera.

Change-Id: I2604c054407cf23f55e11c80e8d69d190cb9ee10
gps: Update to CAF jb_2.3.2, reenable privacy lock.

Squashed commit of:

commit 1fc7e568880473fa15fdac4d7a3b4a9557e2781e
Author: Mike Kasick <mike@kasick.org>
Date:   Tue Jan 1 21:47:51 2013 -0500

    gps: Add loc_eng_set_privacy function to enable/disable GPS privacy lock.

    Privacy lock is enabled on loc_eng_init, disabled on loc_eng_cleanup,
    mimicking the behavior of TW.

    The privacy lock state is non-volatile, and control of the lock is needed
    to ensure that the GPS works and is responsive to requests.  Otherwise the
    GPS may silently cease to work depending on its last state in TW.

commit fe69d4eb5e2cf3ef003def7fa134549ffdadcb53
Author: Mike Kasick <mike@kasick.org>
Date:   Sat May 4 20:44:54 2013 -0400

    gps: Update to CAF jb_2.3.2 (a731b5ab6b3acba561abfcbf1742fb1519607bc3).

    Conflicts:
    	gps/libloc_api_50001/Android.mk
    	gps/libloc_api_50001/LocApiAdapter.cpp
    	gps/utils/Android.mk
    	include/hardware/gps.h

Change-Id: Ia04c76d91963ce4932fb9b74f9425d87705cb861
d2-common: use proper hardware key bit field

This allows remapping of the proper keys in System > Hardware keys

Change-Id: I62ee00251b98ec38734e26e8a887f845857169b8
Revert "d2-common: overlay: increase pie_trigger_height"

This reverts commit a4227a5c11c6d9f933f775237f70da33686ae2cc.
d2-common: increase pie_trigger_thickness

So pie controls will work for those who use them

Change-Id: I276bb8ae9e343ec59a13045e4758897112a19603
d2-common: increase mms size, height and width

same settings as toro, they work on d2vzw
need tested on other d2 variants

reference:
https://github.com/CyanogenMod/android_device_samsung_toro/blob/ics/overlay/packages/apps/Mms/res/xml/mms_config.xml

Change-Id: I9834a68daf8968421e3c3610ee29c8f0e484013a
d2-common: increase mms size, height and width

same settings as toro, they work on d2vzw
need tested on other d2 variants

reference:
https://github.com/CyanogenMod/android_device_samsung_toro/blob/ics/overlay/packages/apps/Mms/res/xml/mms_config.xml

Change-Id: I9834a68daf8968421e3c3610ee29c8f0e484013a
d2; Fix audio in Hangouts

 * Add higher sample rates and stereo input device

Change-Id: Ic1d35fe3a5f1cde43bea6d3fd53f070829c34b8a
d2; Fix audio in Hangouts

 * Add higher sample rates and stereo input device

Change-Id: Ic1d35fe3a5f1cde43bea6d3fd53f070829c34b8a
d2: camera: Add 2.4MP, 6MP, 7MP/Remove VGA resolution

Front camera behaves poorly with VGA and iommu enabled.

Change-Id: I6f382098f97f6e9a586982e71723389c8a05a952
d2: camera: Add 2.4MP, 6MP, 7MP/Remove VGA resolution

Front camera behaves poorly with VGA and iommu enabled.

Change-Id: I7331e0ee2101ff6e675ad308fe957b35e7bdaeb8
d2: additional camera blob

Change-Id: Iefe984382e7050a937b1b89b5b3b078012d922ce
d2: camera: Add 2.4MP, 6MP, 7MP/Remove VGA resolution

Front camera behaves poorly with VGA and iommu enabled.

Change-Id: I6f382098f97f6e9a586982e71723389c8a05a952
d2: additional camera blob

Change-Id: Iefe984382e7050a937b1b89b5b3b078012d922ce
d2: disable background support

Change-Id: Ieb83f2fa2ab9647222b3bfd89b4e9c6c683b65cc
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_device_samsung_d2-common into jb2

Conflicts:
	overlay/frameworks/base/core/res/res/values/config.xml

Change-Id: I568ee97ff63ccee93670640eee3f39b35c08acc4
Not needed.

Change-Id: I2d2902c57ee73ca9e43a36bfa096af9707d4890d