Switch to new Superuser

Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c

Conflicts:
	Android.mk
	proguard.flags
Settings: apple can do...we can do as well

incredible apple engineers speeded up the overall UI and reduced per default slightly
the animation scales. Well we do as well and reduce it from 1 to 0.75...smooth, looks well
and does not break anything

Change-Id: Ifab9c0111429389d715319e4f272a8298c4dba80
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
Settings: Fix the memory leak in Settings

Fixed the memory leak in both InstalledAppDetails

Change-Id: I3520b3c1fe1bf98e3baec2ee989eb215164a7cf2
Signed-off-by: Zhijun Peng <pengzhj@marvell.com>
Fix memory leak in ManageApplication

ApplicationsAdapter new a Session member and make it has a reference to
it self. If we don't release it explicitly, the cross reference will
cause memory leak.

Change-Id: Iecce35ae1d56d98cee6347e84d3a3ff57f3b15a5
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/
 settings: Make mobile settings a first-class citizen

* Nobody likes carriers, but let's not bury these settings behind
10 layers of indirection. Many users (like me) who travel often
will need to access these options frequently.
* The top level switch disables mobile data.

cyanogen authored on Apr 14