SystemUI : Dismiss keyguard on powerwidget longpress

Dismiss the keyguard on longpress of toggle similar to settings button

Change-Id: I45b64f3f3ac822f5137a2db263bf2e9c3e8a1a45
Make 'Power button instantly locks' toggle work (1/2 framework)

If your device is secure (uses password/PIN/pattern) then the AOSP timeout settings are used.
But the 'Power button instantly locks' toggle is ignored. 'lockImmediately' in KeyguardViewMediator
is always set to true. This fix together with a settings fix switches to the the AOSP handling of this
setting.

Change-Id: Ic7ce8003f1b16a4feaa60ec81082c7ddfce23105
Change APP_SWITCH key event to open Android 4.0 recent apps switcher

Without this patch it opens the old Gingerbread-style recent apps.

Thanks to XDA forum member evilisto for demonstrating how to make this change:
http://forum.xda-developers.com/showthread.php?t=1450138

Patch Set 2: Fixed commit dependencies
Patch Set 3: Open app switcher when key is released rather than when it is
             first pressed, to conform with the behaviour of other keys.

Change-Id: Iea04c3015b773b5f375a01a9ee30c5130de13dff
CpuGovernorService for all, optional iobusy server thread

This is not QCOM specific, enable the feature for all

- Disable easily the iowait busy feature by a flag
This sysfs ondemand feature requires kernel >= 2.6.35

- Add a DBG flag to remove the on/off spams, only keep the notifications
I/CpuGovernorService( 2332): intent action: android.intent.action.SCREEN_ON
I/CpuGovernorService( 2332): intent action: android.intent.action.SCREEN_OFF

Change-Id: Ib1b393caaa5608f54cc8525ea3657fcab0dbf7fe
Add OMAP_COMPAT and OMAP_ENHANCEMENT frameworks flags

OMAP_ENHANCEMENT is for omapzoom stuff, if required...

OMAP_COMPAT will be required soon to use the specific
wlan and omap3 codecs. (Same as CM7)

PS: We already use omap3-compat as hardware/ti/omap3
    on the defy ics version since months...

Change-Id: I7e9d9abd39b8bf5b62fa5583241eb0fcfffaba01
Xcode 4.3 compatibility checkin

PackageInfo is declared as a class, but is used as a struct in a couple of
places which causes the Xcode 4.3 compiler to fail.

This patch removes the struct usage which is causing the compiler to fail.

Signed-off-by: Al Sutton <al@funkyandroid.com>
SurfaceFlinger: Let HWC handle an alpha blending
                when either C2D or DYN is set

Before we only use GPU to blend an alpha value.
However C2D can also handle the alpha blending,
when the composition type is set to either C2D or DYN,
use HWC to handle this.
And set the alpha value of C2D to HWC_BLENDING_PREMULT,
so later C2D can set alpha blending parameter.

Change-Id: I53be1d4219fbf2467a6391276d59213858a50058
Framework: Lock screen weather (Part 2 of 2)

This commit adds the framework side support for displaying the
current weather forecast on the lock screen.

Special thanks to Devatwork for his help with the update code,
Blunden for his help with the weather images and the AOKP team
for the original Yahoo! Weather parsing code.

Patch set 2  - Whitespace cleanup
Patch set 3  - Default show location, timestamp and metric to on
Patch set 4  - Adds AOKP copyright to util classes
Patch set 5  - Fixes derp introduced by Ps4
Patch set 6  - Fixes (incl music control widget size)
Patch set 7  - Minor tweak to the music control widget size
Patch set 8  - Better 'error' message on startup
Patch set 9  - Even better start up message and Cid image
Patch set 10 - German translation

Change-Id: Ib12951f163d4fe04cbfa2e4ae9fc59058b71f47e
telephony: fix Network Operators list on Samsung Qualcomm devices

setNetworkSelectionModeManual() and responseOperatorInfos() are overridden
in QualcommSharedRIL with code that breaks Samsung Qualcomm RIL's.
Override them, again, to put back the original functionality found in
RIL.java.

Change-Id: I7ac663a60edf62c80cdac831443ca6cddbe3702c
Merge "SurfaceFlinger: Let HWC handle an alpha blending                 when either C2D or DYN is set" into ics
surfaceflinger: call perform function with custom events to HAL

- SF will call perform with event and value to inform HALS about
  custom events(external display, orientation change etc.,)
- remove actionsafe related functions.

CRs-Fixed: 341947
(cherry picked from commit ca1e7b9ee353bc4d2fdc2234d8860e84bbff74f1)

Change-Id: Icfe5f2f8ce56561c6959e206771b2850a3597e70
Merge "Framework: Lock screen weather (Part 2 of 2)" into ics
Keyguard: Turn lock-before-unlock into a user-configurable setting

Showing the unsecured lock screen (Slider/widget screen) before the
security screen is now a secure Setting (still defaulting to off)

Change-Id: I0a11f82ffe074d289129b2b972ffc0135eea81ed
Merge "telephony: fix Network Operators list on Samsung Qualcomm devices" into ics
Disable the IllegalStateException on route del

The frameworks often try to remove routes after deleting interfaces
Ignore this exception to reduce log errors.

Change-Id: I8d11598a83708b7689f1d29014f18784ad8c93f9
PT-BR: Navigation bar translations

Change-Id: Ifac3aad7d623e0536fb296b8466a55184774e318
french: weather translations

ps: not easy to translate, i suggest using yahoo site
    to get your exact translations...

Change-Id: Iccdd6cbdfba35a4ef5b05f08f3f73603691f1560
Sound preference: Safe volume restore when plugging in a headset (1/2)

When enabled, volumes that were above a threshold (~55%) the previous time
something was connected to the audio jack will be restored to that threshold
rather than their full level.

Affects all sound streams apart from voice call audio.

Change-Id: I0007a09ce75b55c95986e38a4cbb24fe4e8200a9
Merge "SystemUI : Dismiss keyguard on powerwidget longpress" into ics
Merge "Make 'Power button instantly locks' toggle work (1/2 framework)" into ics