Remove power widget background

Change-Id: Id0bff63011666539a97b262a3f4975f07639a4f4
frameworks/base: Remove CM headset/speaker volume restore code

- Jelly Bean already has this built in for the media volume stream, but it's
broken by having our own code in there as well.
Other audio streams will no longer have their volume levels restored, and only
media volume will be subjected to the 'safe headset volume restore' cap.

- Cleaned up the 'link notification with ringtone volume' code.

Change-Id: I06e1d159a66e2d6c09c6128c4c946d9578ea90cd
Frameworks: tablet powerwidget management (1/2)

Adds basic powerwidget management for tablet devices
Allows to setup up to 6 different toggles, or remove all of them

patchset 2: remove whitespaces and tabs
patchset 3: remove some other tabs left
patchset 4: some other tabs were hidden
patchset 5: *changed strings for consistency with phone powerwidget
            *added license header on some files
patchset 6: remove WIP tag
patchset 7: remove new created tabs

Change-Id: I2e643401aaac0146857abe8c2d2dbc652d28e666

Conflicts:

	packages/SystemUI/res/layout-sw600dp/status_bar_settings_view.xml
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/SettingsView.java
Framework: Tablet powerwidget improvements

Change-Id: I671edccef30de061625ebad425612c00e4268823
HTCQualcommRIL: responseIccCardStatus: add subscriptionFromSource feature.
Configure subscriptionFromSource quirk using needsOldRilFeature to ifdef tEh javaz for CDMA + LTE support.

Our RIL supports RIL_REQUEST_CDMA_SET_SUBSCRIPTION_SOURCE and RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE.
These are used to determine desired subscription source on the fly.

Change-Id: Ife3b3413605e26efd8c1ba8af66cc0eea76072cb
Fix keystore access when utilizing quick unlock

Change-Id: Ieb8f84918d2f375752a625bddba0e4415a8efd29
Merge "Frameworks: tablet powerwidget management (1/2)" into jellybean
Merge "Framework: Tablet powerwidget improvements" into jellybean
framework: fix notification icons not animating till ticker is updated

Fixes Android issue #15657

Change-Id: Ic406ffbf139ae1562ed2b048b2e8e1f8b734271c
Merge "frameworks/base: Remove CM headset/speaker volume restore code" into jellybean
Merge "Remove power widget background" into jellybean
ActivityManager: Fix getCurrentUser() transaction

It was actually invoking switchUser()... :\

Change-Id: If9ab9effa4816c12d14d8f53df4ab131ac320d0c
Merge "ActivityManager: Fix getCurrentUser() transaction" into jellybean
Merge "framework: fix notification icons not animating till ticker is updated" into jellybean
Merge "Fix keystore access when utilizing quick unlock" into jellybean
Merge remote-tracking branch 'cm/jellybean' into jb-dev
WebView : Add openUrl menu item

If the selected text is a valid url, then allow user to launch it via browser.

Change-Id: I865d58d69ada2af751af1619c4cc03a732504481
Support GSM AT commands for SMS over bluetooth (1/2)

Modifications required to support the older GSM "AT+" commands for SMS over
the bluetooth transport for use with car radios, etc. This must piggy back
on the existing handsfree code as the spec uses that channel for the commands.
(2 parts: frameworks/base and packages/apps/Phone)

frameworks/base:
Additions to JNI and supporting framework code to allow sending of individual
characters and to receive the PDU stream - neither of which are CR terminated.

IccSmsInterfaceManager.java requires a reversion in sendText() to use
enforceCallingOrSelfPermission() instead of enforceCallingPermission().  This
is apparently the only way Phone.apk can actually send an SMS.  (ICS used the
OrSelf variation while JB changed to use the stricter version.)

Change-Id: Icff0d2c55170e9c47302b21ce3f15ce863c8c756
Signed-off-by: Gary Dezern <garyd9@gmail.com>
Status Bar Brightness Control: Set brightness by long press the status bar

Sliding your finger on the status bar will continue to function.
See: http://review.cyanogenmod.com/#/c/18625
See: http://review.cyanogenmod.com/#/c/18870

Change-Id: I7bd7c64dc25038e1151b83ec07cc2c7c856f9359
Navigation Bar: Ability to enable on every device 1/2

This adds a new Menu item Settings -> System -> Navigation Bar

Patch Set 5 : Just a rebase

Change-Id: I23a508fa3268e63fbbc9a8305d011db3ca7722a0