Fix-ups for upstream msm8960-common
d2: usb tether: Add new tether_usb_regex string

Need this to be able to tether via usb on 3.4 kernel.

Change-Id: I41a2b4c719a7bc168d4405206228996ec8142779
Strengthen build barrier
d2-common: overlay: increase pie_trigger_height

For those who use softkeys and want pie controls, this will allow it
to actually work, 3dp is just too small for it to work for us.

This will not affect you if you do not use softkeys.

Change-Id: I042a16694bb45ae8554cf7b2b356345db33e10ba
d2: Relocate GPS HAL

Change-Id: If374274b5202672bb51892f9e078ed09c3c9e8aa

Conflicts:
	BoardConfig.mk
d2: Relocate keylayout files for D2

Change-Id: Id528dc811d5cc7766c346fe04bb938486ae82b81
d2: Relocate modem link scripts

* Moving from msm8960-common

Change-Id: Ib470cbbf87cac950701a4ae7ba29f08de8015308

Conflicts:
	rootdir/Android.mk
Apexq: Fix relocation pathways for KeyLayout and GPS

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: I53a0c054d3b42b5b60cfad4f112f402526860128
d2-common: add permissions for panel color temp sysfs interface

Change-Id: Iab1d2a5d14b8ccda49ac95765441f6230fb31dff
Use actual ApexQ NFC signatures and move from common

and misc cleanup
d2: Add configuration for panel auto-brightness mode

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

Change-Id: I2bbd66cf89a8234af884469884eaf34eb2488b7a

Conflicts:
	overlay/frameworks/base/core/res/res/values/config.xml
d2-common: init: relocate panel_colors sysfs interface

Change-Id: Iac00a74846b40ccd0415d6ceaac7da2a65f8a6e5
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