Framework: Port CM9 features to CM10

This commit includes:
 - Power menu Reboot
 - Power menu screenshot
 - Profiles
 - Lock screen Calendar
 - Lock screen Weather
 - Notification light customization
 - Battery light customization
 - IME Selector notification toggle
 - and a few more things to support Settings

Change-Id: Ibd63116df90b06f6ce6adb8a0343059bbb999bfb

Conflicts:
	core/java/android/app/ContextImpl.java
	core/java/android/app/Notification.java
	core/java/android/provider/Settings.java
	core/res/res/layout-sw600dp/keyguard_screen_status_land.xml
	core/res/res/layout-sw600dp/keyguard_screen_status_port.xml
	core/res/res/layout/keyguard_screen_tab_unlock.xml
	core/res/res/layout/keyguard_screen_tab_unlock_land.xml
	core/res/res/values/config.xml
	core/res/res/values/public.xml
	media/java/android/media/RingtoneManager.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/KeyguardStatusViewManager.java
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/KeyguardViewMediator.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/VibratorService.java
Framework: Add the ability to enable/disable use of Profiles

This will remove the Profiles item from the Power menu when the user has
selected to disable the use of System Profiles.

TODO: Better handling of returning a default profile when requested

Change-Id: I3c29b1bbd8f72c5432a1906a6b412d9412279c9f
Framework: Forward port Power menu config

Change-Id: I4836ddf43e82e254aefa3933a1e30fd652f08f90

Conflicts:
	policy/src/com/android/internal/policy/impl/GlobalActions.java
Framework: Remove CyanogenMod Weather and Calendar support

These features will be re-written to support Lock screen widgets

Change-Id: Ibba0fc2e158a6ac526e1a88499bb35b1ec362319

Conflicts:
	core/res/res/layout-sw600dp/keyguard_screen_status_land.xml
	core/res/res/layout-sw600dp/keyguard_screen_status_port.xml
	core/res/res/layout/keyguard_screen_tab_unlock.xml
	core/res/res/layout/keyguard_screen_tab_unlock_land.xml
	core/res/res/values/public.xml
	policy/src/com/android/internal/policy/impl/keyguard_obsolete/KeyguardStatusViewManager.java
Framework: Forward port Expanded desktop capability

Originally authored by Jesús David and ported from
        ParanoidAndroid ICS branch

Change-Id: I9f8491883cdd5bd78cf4754d322e00c7bc5b9ca5

Conflicts:
	core/res/res/values/public.xml
Port "Option to hide Adb notification icon (2/2)"

Change-Id: I63bfb7e4b4f0ac4d4d4c3da68ea767e8a37babdd
Framework: Add Power Widget (Phone)

This commit adds the Power widget for phones.  All toggles should work
except for LTE (disabled for now)

Change-Id: I17669420d9db9a347af182fc398c6426e18534f4

PowerWidget: Make widgets stationary like everything else in the tray

Before patch: widgets move up with the grab bar (and get smashed a bit)
https://dl.dropbox.com/u/1077120/Android/Screenshot_2012-09-13-18-19-39.png

After patch: widgets disappear behind the grab bar, like everything else
https://dl.dropbox.com/u/1077120/Android/Screenshot_2012-09-13-18-23-52.png

Change-Id: Iedded9c4ba89bb5284a8b8cd0e48be8e0cafa01d

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Fix a few build problems

Change-Id: I665bc7d556e518adce9e853d2bdf55f8c573b8c5
Add an option to allow a (subtle) notification vibration during calls.

Change-Id: I8a5e1d15d17d56089158b24f9a4b246ae6e60285
JIRA:CYAN-1550

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
	services/java/com/android/server/NotificationManagerService.java
Framework: Forward port Fixes

1)  NPE in Power penu

This fixes the NPE when the Reboot item is disabled and the Profiles
switcher is not

2) NPE in notification manager if profiles disabled

No active profile group is returned and a NPE is triggered when a
notification override is being set

Change-Id: I5fa003ce08daf5ef86ddeca5d432dcea2e34a718
implement noise suppression for phone calls (1/2)

Change-Id: If51532bd8220fab8722bbb594f70515f9d74b49b
Forward port Volume panel style and Linked volumes

Original author ptunstal

Change-Id: I4359550fabd110ced6359d2bdcd321561b08fae0
Framework: Cleanup public.xml layout for CM additions

Change-Id: I0753bc484883ff7f9d2e79f0f8d26a309493bc8d

Conflicts:
	core/res/res/values/public.xml
Framework: Switch to the new 4.2 handling of public symbols

With 4.2, non-api public symbols are now kept in the symbols.xml
file and no longer in the public.xml file.  This commit moves the
CyanogenMod required symbols to the proper file.

Thanks to PawitP for pointing it out

Change-Id: Ied3ea11c91eb8e8947a18b11b6d49f3a09bcbee5

Conflicts:
	core/res/res/values/public.xml
	core/res/res/values/symbols.xml
more fixes

Change-Id: I04970b234c1a782ae9a21be00921ae2c16ff54f9
Add permission that allows cancelling notifications from other apps.

Change-Id: I055b17873e174f71174898a7649b1e221fd8c436

Conflicts:
	core/res/res/values/cm_strings.xml
	services/java/com/android/server/NotificationManagerService.java
Notification cancellation fixes:
Permission should only allow cancellation of other app notifications, not enqueueing.
Fix checkapi breakage.

Change-Id: Idbcfd4617057984250dc4d4fa32ff55bfbb155e2

Conflicts:
	services/java/com/android/server/NotificationManagerService.java