Kill app back-button : Don't kill default launcher

Avoid killing currently set default launcher.

Change-Id: Iaa2de02cfa1b94faabbb1ca86a01f185a55c5e93
Added hungarian translation for frameworks

Change-Id: I9ad8565731211f1d77ebba4cfeb8781290158ab1
Fix the Icons in the Expanded Volume Overlay

 * Defaulted the Phone Icon to be visible
 * Added the Alarm volume in expanded view
 * Fixed a bug that made the notification icon the same as the phone icon

These changes were made originally by myself in ics

They have been tested on a i9100

Change-Id: I2f4592f96267d80fcc2e5e817e5075e9becc9b06
Notification Widgets : Fix vibration

The initial value of the array determines how long till the vibration starts,
and second value determines how long to leave it on till.

Since config_virtualKeyVibePattern is in an overlay and we cannot rely on its consitency,
we check the length of the array, and based on it execute the appropriate vibration.

Change-Id: Ida88dabc2b3b364501e335bdbe45c84c3845c913
Make notification header settings icon align with the text

The icons were effectively 50 px while the text is 45 px. The
result was that they did not align properly.

Change-Id: I00ebccf96023ebd533daf3667dcba8981d609a9e
Merge "Kill app back-button : Don't kill default launcher" into jellybean
Merge "Fix the Icons in the Expanded Volume Overlay" into jellybean
Merge "Notification Widgets : Fix vibration" into jellybean
SamsungRIL: Fix data connection after pin unlock

If the user has PIN-locked his phone, data connectivity will not
work because the RIL sends APPSTATE_UNKNOWN and does not update
it to APPSTATE_READY. We inject the state update if there's a
signal change.

Change-Id: Id64e95ebcadd1d7ff181f8d9c2ee4f18e6ae48f1
Merge "Make notification header settings icon align with the text" into jellybean
Lockscreen : Widgets before secure lockscreen fix

Due to user profiles, the lockscreen settings were moved and a check added to force
queries for such matter to go via LockPatternUtils.
Add a getter in order to abide by this for querying this preference.

Change-Id: If9ac2b29e33cd2183fd67af22a8db280c0c6e1a4
values: updated pt translations, cleaned up ru ones

Change-Id: Ie9150aefaccaaf4d8418356a84a11a0321c411e9
Merge "Added hungarian translation for frameworks" into jellybean
Framework: Add option to always show battery status on lockscreen (1/2)

Based on the feature by burnsra in CM7

Authored by Blunden
Tweaked by DvTonder

Screenshot: https://dl.dropbox.com/u/50993944/Screenshot_2012-08-03-08-47-10.png

Patchset 1-8: Initial code
Patchset 9  : Minor tweaks

Change-Id: I642da4dcd82a776a74d77031d37acc76f97b25af
Merge "SamsungRIL: Fix data connection after pin unlock" into jellybean
Merge "Framework: Add option to always show battery status on lockscreen (1/2)" into jellybean
Settings: Move LOCK_BEFORE_UNLOCK to LockSettingsService

This option is now manipulated through LockPatternUtils, which in
invokes the new LockSettingsService instead of the generic
SettingsService (since If9ac2b29e33cd2183fd67af22a8db280c0c6e1a4)

Move this setting there so it passes the in-class filter for
options it's allowed to migrate from CM9, and reject attempts
to change it through the normal SettingsProvider

Change-Id: I628caf92c0f77cbaf759f04b4a396631447b2a11
GlobalActions: Fix dialog dismissal

The themeability of the global actions dialog introduced by
change I644e2e8d7d4abf07bae639b606197d691f16adac broke the
hook that prevented multiple instances of that dialog, and
multiple instances of it will cause framework crashes due to
mismatches variable references (besides looking weird).

Fix it by restoring the original dismissal condition and forcing
a recreation of the theme context if necessary.

Change-Id: Ic6e06bef18fa9e09c84c774fa273f1b7e3bf9630
Hardware key custom rebinding (1/2) WIP

Framework changes to allow rebinding of 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.

Patch Set 1: Initial port from ICS [done by Konstantin Koslowski]
Patch Set 2: Added 'assist' (search) key customisation
             Option for ICS-style in-app search, in addition to jellybean-style
             search assistant.
             Fixed double haptic feedback on virtual key press.
Patch Set 3: Checkbox to enable/disable all custom bindings.
             Home long-press defaults to no action on devices with
             an app-switch key.

Change-Id: If790aae7cf266f90d1afa07acfe91129b2d19489
Services.jar: Reworked computeNewHeadsetState function to set state in a
manor used in ics. This allows states such as 129 and 130, which are
used for 35MM_HEADSET to be correctly registered as a new state.

Change-Id: I3bd1ec17d0cd184593edf330f482f09396785e76