Settings: Add setting in security for sms message rate alerts from CM10

If we add a preference to control "sms_outgoing_check_max_count" we can
control the message rate by writing to Settings.Secure.SMS_OUTGOING_CHECK_MAX_COUNT.

Currently this is null so it defaults to 30 sms messages in a 15 min period.
Creating and writing this preference allows us to control the sms rate interface.
We can also modify timeframe as well.

This was added to security instead of Mms since this isn't just rate limiting the
sms application.  This rate limits any application that sends texts.

This also creates a new category called Application Security.

Change-Id: I47a2f8d136a4399ebf5477dbd5bb23d83b5693cf

Conflicts:
	res/values/strings.xml
Fixup strings and whitespace-Chronus
Quiet Hours (2/3) - CM

Change-Id: Ibce695532cd918920ff4a2b2111040591e9975a6
Signed-off-by: sethyx <sethyx@gmail.com>

Conflicts:

	src/com/android/settings/SoundSettings.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:
	res/values/strings.xml
enable developer options visibility by default for userdebug builds

Signed-off-by: Roman Birg <romanbirg@gmail.com>
Settings : Fix App & Widget Pickers.

Fix the Theme settings for App & Widget pickers.
corrects the 'White on White' condition of those
two pickers.

Change-Id: Ib8a355d10c471e62836d9e74baef886240565b8f
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Allow user-installed apps to be disabled and force stop when disabling an app

In more detail, this patch will change the following:

* Users can disable regularly installed apps.
While disabled, the app can be uninstalled or enabled again.

* When disabling an app (user or system), force close the
application.

* System apps can be disabled, or installed updates can be uninstalled.
Previous behavior only allowed updates to be uninstalled,
then be disabled.

Signed-off-by: Roman Birg <romanbirg@gmail.com>
Hide Adb Notification icon (settings)

Change-Id: I1f118f1c09a1d7a300a80760cac0be083a453c6a

Conflicts:
	res/values/strings.xml
	res/xml/development_prefs.xml
	src/com/android/settings/DevelopmentSettings.java
Adds ability to answer call with hardware HOME button (2/2)

(preparation for winter time)

Change-Id: I25d69913847b1756f89a04e14e1dee4a939afcb3
Settings: Forward port Hardware key custom rebinding (2/2)

Settings for rebinding the actions performed on the following key press events:
Home long-press, menu press, menu long-press, search press, search long-press,
app-switch press and app-switch long-press.

The available actions are: Nothing, open/close menu, recent apps switcher,
search assistant, voice search and in-app search.

Devices with a key configuration other than home, back, menu and search need to
set config_deviceHardwareKeys in an overlay to have the correct preferences
show up.

Change-Id: Id04a598aeb9829d7971dedbd171a61999ce2f919
LockScreen: allow long-press actions from hardware keys (2/2)
Allow following actions with button long-presses on lockscreen:
- toggle flashlight (if available)
- play/pause/next/previous track selection
- toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Ported from CM10

Change-Id: I36ea5eb7e93d68de872536dc6d7e93f99ba1621f

Conflicts:
	src/com/android/settings/CRoM.java
Settings: Forward port Expanded desktop capability
Originally authored by Jesús David and ported from
        ParanoidAndroid ICS branch

Change-Id: Iad1be66f48db2fe022a87822a092d6606c2a6477

Conflicts:
	src/com/android/settings/CRoM.java