Dont show "Erase SD Card" when there is none

On devices with physcal, external SD Cards, the "Erase SD card"
option in in Settings/Storage is available even when there is
no SD card present, this dont make much sense since you cannot
erase a card that is absent. With this change the erase option
is bound to the mount toggle which leads to the following
consequences:

 Card present and mounted -> Erase enabled
 Card present but unmounted -> Erase enabled
 No card present -> Erase disabled
 Card present and MTP attached -> Erase disabled

Change-Id: I756ae8af3e0565febaf940df5f4991dd89105bd9
Import LED Notification from AOSP 1/2
test
Battery led (1/2)

xxxifan authored on Dec 23, 2013
Add fastscroll to the Manage applications screen

so you don't need to scroll so much if you have alot of apps
and want to go to the bottom of the list.

Change-Id: I96d892abf53a9da784ae1df056558d4fd3cf64f6
Settings: Fix aapt locale set caused by SuperUser

This allow to display Settings in other language other than default
for whatever reason SuperUser breaks this on AOSP working behaviour
including this flag.

Whatever this does not break anything and will fix our issue till it is
inverstigated why the SuperUser overlay breakes the locale set.

Change-Id: Ie0d94a85b6b3f26cad853298b911c7fece0a1247
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:
	Android.mk
 Settings: add "Accept all files" option for incoming files via Bluetooth [1/3]

Vanilla Android requires the incoming file from Bluetooth to be certain
mime-types.
The mime-types allowed are defined in
packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java
But sometimes we need to accept files that is not in the list,such as
RAR archives
or APK packages.
This patch makes "Accept all files" an option in Settings -> Bluetooth
-> (Menu),
and then saves users' choice to Settings Provider database.
This will meet users' demand as well as keep the phone from unsafe files
when users don't need to accept the files out of the mime-type
whitelist.

Use together with https://gerrit.omnirom.org/6783/
and https://gerrit.omnirom.org/6784/

Change-Id: I52ac0fdefeaff8ee5bc9ced38efdf16b54a1eee8
Add option for switching between UMS and MTP/PTP mode. (2/2)

This adds support for switching between UMS and MTP/PTP.
Settings part (this part) adds option in USB settings
(statusbar/notification drawer) for enabling UMS,
and adds setting in Storage menu to enable / disable UMS, this since the
USB settings page disappears when enabling UMS.

Forward port from cm-10.2, adjusted for 4.4

Change-Id: I6cf50a41a9a82e40e702f5231ce663636c149613

this is just porting this http://review.cyanogenmod.org/#/c/54903/