4d263a8 pick fix

Change-Id: Iadcc0b48c73d5b1bb80598153d5d9b8b9fbf0882
34368ed pick

Change-Id: I93dc3e061cf9a2b6f38446542b17e0367137d3be
Legacy touchscreen: Fix B key issue

Patchset 2: Clean code

Change-Id: Ib1fc59833d066dee9c4c5f02a9bf1a912463cb1e
simplify and improve BOARD_USE_LEGACY_TOUCHSCREEN

in addition to converting ABS_MT_TOUCH_MAJOR to ABS_MT_PRESSURE, it also converts ABS_MT_WIDTH_MAJOR to ABS_MT_TOUCH_MAJOR.

also add 2 workarounds for some touchscreen driver which
 1. has BTN_TOUCH feature but it doesn't send BTN_TOUCH event
 2. sends multi-touch event for not-in-use pointer

reference: http://source.android.com/tech/input/touch-devices.html

Change-Id: I7b7f8802e45bf9d9f8de00373559a30ea839a178
0cf4b70 pick fix

Change-Id: I11a0eb054a666b72e592ba787e865a16f6ee025a
39159d0 Add vendor_service resource to public.xml fix

Change-Id: I3fcd4b3aae937c6d1d6dc9caeed1604abb164f23
Add support for using a custom USB management service.
Some fixes for custom USB service handling.
re-implement of ro.usb.use_custom_service (notification mass storage)
> 17ab540 hwui: Allow to blacklist android applications pick fix

Change-Id: I4087033a4927f53393bf40e0c72637e2d52e77e2
> 7efbe22 1% battery pick fix

Change-Id: Iaceea0c3a45514cf8c952b2135bdd7661ee52752
Some devices need light sensor enabled for kb and button backlight

Change-Id: Ic883779856cb19fb20c46a6896dbbf03855b4b0d
enable bandwidth control: ignore the iptables errors
Add LegacyUsbDeviceManager::setCurrentFunction method. (from ics, adapted to jb)
Add support for USB tethering interfaces that are always present.

Previously, the state machine assumed that the USB tethering interfaces
appear/disappear when reconfiguring USB or changing the USB status. Add
some fallback handling for devices where this isn't the case.
Keep track of tetherable USB interfaces in both up and down link states.

USB network interfaces that are present-since-boot are never issued "added"
(or "removed", for that matter) notifications from netd, and thus, are only
discovered by Tethering when their link state changes.  Prior to this
commit, such interfaces were only tracked on change to "up" link state,
even though the interfaces were _not_ removed on changes to "down" state.

On some devices (e.g., epicmtd) a change to "up" state only occurs after
(i) IFF_UP is set on the interface, (ii) the rndis USB gadget function is
enabled, and (iii) a USB cable is connected to another machine.  Since
rndis is enabled immediately before the start of USB tethering, the "up"
state is achieved asynchronously, and often _after_ Tethering looks for a
tetherable interface.  However, "down" state is synchronously reported when
IFF_UP is set, and thus, serves as an effective mechanism to notify
Tethering about the existence of the interface.
add STREAM_FM
> c79811d fm volume (by maniac103) pick fix

Change-Id: Idcd63dbadeae017c8834aaf3b2ebfa50b1645cdf
> 07c563b config_fmSeparateVolumeControl >> false by default -- pick fix

Change-Id: Ibe3d5afab26864a2582ba527a6cadd07b438f06d
> 9600b3f Debug: fix reversed brightness for buttons and keyboard -- pick fix

Change-Id: I38337e98647b15e9b6bed6ec77e905d7853ab20f