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
bootanimation: allow using RGB565 instead of ARGB8888

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Change-Id: I9da8fd7e6a587b5895519dd0983ec9b8f676771b
Add Center Clock-Framework Part

Change-Id: I80cfef86d556a468925ec22f42dd1638f7c90565
Backlight settings, preliminary, but works

based on CM9 code

Change-Id: Iddcbee98f6588bba428c4059e786d946d7ce2298
SystemUI (2 of 2): Option to enable gfx effects.

Allow devices that do not meet ActivityManager.isHighEndGfx(display)
to enable graphic effects such as (in this case) the screen dimming
effect behind an expanded notification panel.

Change-Id: I7f94a00ef3260b66d6d715adbd1b11961ec32ee3

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Add option for switching between UMS and MTP/PTP mode. (1/2)

This adds support for switching between UMS and MTP/PTP.
Framework part (this part) will only enable UMS if the config setting is set.
Standard is to enable UMS if the primary volume supports UMS.

Change-Id: Ie98b12135535968b20b8b515723116729879e9d4
android.policy: Fix launching home when waking the device with the home button

Change-Id: I856147557e99f4deeaa1befdf76646e36b0c5e57
resume: fix recents showing up when waking the device with the home button

The previous fix, resolved the problem most of the time, but the home
long press would still happen once in a while during resume from RAM.

This is probably still somewhat dependent on timing but the notifyKey
runs immediately first thing after resume, so this fix should solve the
problem completely and it should be enough.

Signed-off-by: Andrea Arcangeli <andrea@cpushare.com>
Feature request 5852: Option to toggle items in shutdown menu (2/2)

This allows for the selective switching of the various CM additions on the
power menu.  Reboot and Profiles are enabled by default, Screenshot is
disabled.

This is the completion of the feature that was merged while still partially
complete

Change-Id: I397ac32509d30ffc1cf18263d8a000cb6f9ccdd1

Conflicts:

	core/java/android/provider/Settings.java
services: Fix tethering (softap) startup

The interface must be started after firmware reload. If it's not
started, the driver is unable to configure it.

Change-Id: I18b255caf961d23c0f7d4d29dfef040761536c2e
NavigationBar : Customization

Allows user to customize navigation bar.

Features :
 - Choose from 1-6 # of buttons
 - Re-arrange / assign buttons

Patchset 1  : Initial commit (No support for Nexus 7)
Patchset 2  : Same as patchset 1
Patchset 3  : Update recentPanel on configurationChange
Patchset 4  : Rebase

Change-Id: Idc9f5f401f15d207504e49de47666bb5510a06ca

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
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

Change-Id: I524b294c57ba80f19cf1af808af65ce1308f5a0b
SystemUI: Use config_screenBrightnessDim for min brightness

Replaces android.os.PowerManager.BRIGHTNESS_DIM (hardcoded to
20) to match slider values in brightness preferences and overlayed
configuration.

Change-Id: Ia586bd90eaadea8c47c7a850745891bc535d0081
RIL: fix protocol mismatch for DataConnectionState_v4

The apn got dropped in DataConnectionState v4.

Avoids UnknownHostExceptions in DataCallState.setLinkProperties().

Change-Id: Icd0a1ba1c77cead13b15b3749965edead5f59135
Lockscreen: make lockscreen weather time more friendly

Change-Id: Iad8882ba250c788744f1fc17130bf509fbc571c4
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