Notification vibration improvements: [DO NOT MERGE]

 - When notifications vibrate as a fallback (that is,
   because they want to play a sound but the device is in
   vibrate mode), this no longer requires the VIBRATE
   permission.
 - As a bonus, if your notifications use DEFAULT_VIBRATE,
   you don't need the VIBRATE permission either.
 - If you specify a custom vibration pattern, you'll still
   need the VIBRATE permission for that.
 - Notifications vibrating in fallback mode use same
   vibration pattern but can be changed easily in future.
 - The DEFAULT_VIBRATE and fallback vibrate patterns are now
   specified in config.xml.

Bug: 7531442
Change-Id: I7a2d8413d1becc53b9d31f0d1abbc2acc3f650c6
Revert "NumberPicker should adjust min and max when displayed values are set." (a.k.a. Santa is back)

This reverted change was adjusting the min and max values for the NumberPicker
which is not desirable since it changes behavior and it will be possible for
an app that works on the current platform to crash on an older one. Also the
adjustment was not implemented correctly.

Updated the documentation to clarify the reltionship between the min value,
max value, and the displayed values array.

Bug:7518172

This reverts commit a1410e6789ce72bc423793315a51aea8b6bad6c7

Change-Id: I109f1b1f54c1e609941243cabab9241871b6b12b
Tidied up the code a little, added onClick functions to those toggles that can handle it and added Volume and Vibration toggles

Change-Id: I2b928319dcb36b769b3a511871516aaa538019a8
Utilize CID as ADB notification icon

Patch Set 2: Moved up to balance vertical weight of CID's head

Change-Id: Id052039a4cedf1eaafdf1da8f1fa30fa588475ed
Sound and vibration toggles are not working properly. Added debug messages to find out what's wrong

Change-Id: I7790a26848a2e44cbe8428f5f8e36a9b68322243
Changed Logs position to show better info. Also tried to fix the vibration bug

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

Change-Id: If51532bd8220fab8722bbb594f70515f9d74b49b
Merge branch 'toggles' into HEAD
Fixed bugs with toggles onlongclick actions

Change-Id: Id129ad152664743b79d24158580fb39000dfbd05
Revert "Tidied up the code a little, added onClick functions to those toggles that can handle it and added Volume and Vibration toggles"

This reverts commit 9669c3456041f9419f86e29be4cf35d5628075b8.

Conflicts:
	packages/SystemUI/res/drawable-hdpi/stat_ringer_vibrate_off.png
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java

Change-Id: If0a88798733daabd116aa7afeee1ba7aea38fcc8
Modified QuickSettings to act Power Widget alike

I have modified the Quicksettings to perform some actions when you click them instead of starting settings, which can be done now by long-pressing them. I have also added a Ringer Toggle and a Vibration Toggle.

Change-Id: Id61fb5c08cde7a0c847937c36e8818b458198c77
Framework: Remove CyanogenMod Weather and Calendar support

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

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

Change-Id: I0753bc484883ff7f9d2e79f0f8d26a309493bc8d
Merge "Utilize CID as ADB notification icon" into mr1-staging
telephony: SignalStrengh: Don't calculate a LTE snr if the srq is invalid

If the previous values are invalid and signal quality is -1, chances are there's
no LTE signal at all, so don't calculate the SNR and mark it invalid as well.

This fixes the strength indicator in GSM devices where it was being skewed
by the ghost LTE value

Change-Id: I070573401c141aa99941a332ee256246697abb90
Merge "implement noise suppression for phone calls (1/2)" into mr1-staging
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
Make "SD Card removed" notification dismissible if the removed SD Card is not the primary storage

The Galaxy S uses the "external SD Card" as the extended storage
and it the notification should be dismissible as it's okay not
to have it.

Additionally, this patch also not hide the USB storage mount dialog
if the removed storage is not the primary storage

Adapted for JB 4.2

Change-Id: Ic752a3da917e0d7736a619fb68f07905106987fb
Forward port Status Bar interface

Patch Set 1: Signal / Clock / Battery / Notification Count
Patch Set 2: Updated commit message

Change-Id: Iecd4bb06b95b14888916331f5d36327f3206aeef
input: Fix workaround for broken hardware keyboard support

Using a wrong reference to mHardKeyboardAvailable caused device config
to never report physical keyboards.

Change-Id: I9b64e2d89512436c17fa8929464e2b727fba1cf3