Allow USB notification to show when primary SD allows UMS and MTP

Previously if primary SD is set to allowMassStorage="true" the USB
dialog would never show.  This checks if persist.sys.usb.config is
set to mtp,adb and then allows the USB notification to show. With
this you can then have the option to select from MTP, PTP and Mass
storage when clicking the pull down notification. When Mass Storage
is selected it activates the USB connected dialog to turn on USB
storage. When set back to MTP the USB connected notification disappears.

Change-Id: I2287075ec93cae75f19e8fb59965d9dddb234aca
Merge "Allow USB notification to show when primary SD allows UMS and MTP" into jellybean
Increase media volume levels

Increase media volume levels from 15 to 30
Also update the default headset volume restore cap to reflect the change.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I7a8750c901967ce3c818fb9c33b082af6b86b8d6
Triggering EarlySuspend based on BackLight brightness

EarlySuspend is triggered currently based on just timeout. Due to this,
backlight brightness is not coming down to zero.

Change-Id: If89ec6650308109630dbb7ee1be0b96df4ed3534
CRs-Fixed: 381087

Allowing display turning off animation before Early suspend.

This change passes display turning off information to
animation call so that display off animation can be played
before early suspend call.
Reverted two and three changes in the below list with this patch.
Changes introduced in previous patch were:
1.Send early suspend call after display baclklight off
2.All animations off once display goes to dim.
3.Removed duration to turn off screen as i don't see this in ICS.

Change-Id: Id411fe2c4d4fd219fc198405d6c2f221a87874ff
Add option to enable/disable Electron Beam Animation (1/2 Frameworks)

Trigger CRT off animation by user preference.

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Ia57217a37cbe75dcde2f57f89071c7a5b9ded52b
frameworks_firstcommit

Change-Id: Ic34e0fa16a990ecc9c9dc5b4c7e962e90bef66fb
Patch Set 1/2: Add an "Automatically Connect" option for WiFi networks Updated white spaces

Change-Id: I80c7a698de183691094352367913cc73f2863810