framework: Add a version of Environment.getExternalStorageState which…
… accepts a path parameter

Required for improved media scanner on devices with emmc
ugg how did you get in there
partion re-implement of ro.usb.use_custom_service (notification icon …
…only)
use ro.usb.use_custom_service=1 to stop stock usb notification from s…
…howing
Allow mounting of multiple volumes via mass storage (framework part)
The volumes to mount is taken from storage_list.xml (allowMassStorage)
rather than ro.additionalmounts in CM7.

Hand ported from the following patches:

commit 0233209
Author: Tony Layher <layhertony@gmail.com>
Date:   Sun Jan 2 12:46:38 2011 -0500

    forward port of 93bb959 to allow mounting and sharing of mulitple volumes to MountService.

    Change-Id: I9fa3994e6e7b85360b451f57c1cdd4df921bc035

(the second part of the above patch was not ported)

commit 678fadf
Author: Josh Stone <cuviper@gmail.com>
Date:   Sun Nov 7 13:38:58 2010 -0800

    MountService: Remount all volumes after USB disconnect

    If USB was removed while UMS was enabled, the MountService was only
    remounting the primary share.  Any other shares, like the HTC Incs
cleanup
Make "SD Card removed" notification dismissible if the removed SD Car…
…d is not the primary storage
use ro.usb.use_custom_service=1 to stop stock usb notification from s…
…howing
cleanup
graphics: Add directives for compatibility with older EGL blobs

- Define MISSING_EGL_EXTERNAL_IMAGE for EGL libraries without
  GL_OES_GLES_image_external
- Define MISSING_GRALLOC_BUFFERS for gralloc HALS without the
  0x800 (USAGE_HW_COMPOSER) usage
- Define MISSING_EGL_PIXEL_FORMAT_YV12 for libraries who don't
  recognize the Android YV12 colorspace
- Define FORCE_EGL_CONFIG=<value> for blobs which mis-identify the
  usable EGL configuration (pick the value from a CM7 log)

A typical GB library set will need
COMMON_GLOBAL_CFLAGS += -DMISSING_EGL_EXTERNAL_IMAGE -DMISSING_EGL_PIXEL_FORMAT_YV12 -DMISSING_GRALLOC_BUFFERS

Change-Id: I85ae813c604d3d2fc41a291c9cb13d1ecd35368f
merge InputReader.cpp

Change-Id: Iff8efa98739d8da9923f1633f772aff0013349d1
opengl: remove unused adreno flag from the makefile

Change-Id: Ibd397fb3194d8bb2bcd96f4ceac0dded19b06c4c
uncommit merge InputReader.cpp
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
frameworks/base: Add an option to disable hw acceleration via system prop.

Hardware accelerated graphics on devices without updated proprietary files
and/or drivers is causing graphics glitches and reboots. Add the ability
to disable it to alleviate the problems until each device can support it.

Credit xoomdev

Change-Id: I2506d42be6bd5a32fab7380e89817e8b9f7b074b
Implement hack to enable audio thru docks on Motorola phones

This allows us to pass a routing parameter to io 1 while sending
the DockState parameter to io 0 simultaneously. This is required
to enable the correct audio routing when docking/undocking and
allows audio on docks to work when combined with the DockAudio
package.

Change-Id: I23778887c4534c0e607d6fc9795e509f098d9016
merge
missed EGL defines; thanks Defy+ guys!

Change-Id: Id9e7fd85f48bfb4211c025d02456feabb0bf58cd
merge with CM9
stupid mistake