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>
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
Merge "Change APP_SWITCH key event to open Android 4.0 recent apps switcher" into ics
Merge "Add OMAP_COMPAT and OMAP_ENHANCEMENT frameworks flags" into ics
Merge "Disable the IllegalStateException on route del" into ics
Merge "PT-BR: Navigation bar translations" into ics
Merge "Xcode 4.3 compatibility checkin" into ics
Merge "CpuGovernorService for all, optional iobusy server thread" into ics
Merge "french: weather translations" into ics
Merge branch 'ics' of git://github.com/CyanogenMod/android_frameworks_base into ics