PatternUnlockScreen: Battery status can be shown if desired.

It uses same option that LockScreen (lockscreen_always_battery)
Until now, only showed if it was charging or it had low level.

Change-Id: Id4f8edf42775eb43f0602ab2e86b909827af4b65
Externalize symbol picker options to resources

Having the symbol picker options in resources allows a change to be made for
a specific device, and even for a specific locale (change in overlay).

Change-Id: I1c6da0e252dae10c7c2f5433193b946540eda376
Merge "PatternUnlockScreen: Battery status can be shown if desired." into gingerbread
Sanity check item for being non-null.

This normally shouldn't happen, but experience has shown that there are
some rare corner cases where it indeed happens. The exact conditions are
unclear, but it's likely related to an ACTION_CANCEL event being sent
out before the ACTION_UP event.
In order to not crash in weird, hard-to-debug corner cases, just check
whether we actually have an item to process.

This fixes http://code.google.com/p/cyanogenmod/issues/detail?id=4985.
Fix wrong 'USB debugging connected' notify color

Change-Id: I8ad4ce8652325e2e10dd529a934c8928ee0b149c
Merge "Externalize symbol picker options to resources" into gingerbread
policy: fix "Skip on security" functionality

It was only working for fingerprint and pattern lockscreens.

Change-Id: Ib4d4d28f80256fbe669aeb5681ef6056b8f5f3d4
Merge "Fix wrong 'USB debugging connected' notify color" into gingerbread
Merge "policy: fix "Skip on security" functionality" into gingerbread
Revert "Fix wrong 'USB debugging connected' notify color"

This reverts commit 6d70c41047314e8753b373bc92ae675bf580b641
Merge "Revert "Fix wrong 'USB debugging connected' notify color"" into gingerbread
Allow theming of framework UI elements.

As the theme engine works by replacing resources while loading the APK,
framework UI couldn't be themed so far. Workaround that by manually
creating a com.android.systemui package context and using that for
showing the UI. This attempt is a bit hacky, but should be safe as
a) systemui should always be present
b) if it isn't, we fall back to no theming

Change-Id: I644e2e8d7d4abf07bae639b606197d691f16adac
Quick unlock : Fix bug

There is an issue where users whose passwords are greater than 8 chars and
have quick unlock enabled will be unable to unlock their lockscreen.
This is due to the logic evaluating anything beyond 3chars as a password attempt.

This change modifies the quick unlock behavior so that when typing the password,
each character is considered an attempt, however if incorrect, is not reported as a failed attempt.
Only when the user presses enter is it considered an "explicit" attempt and a failed attempt is reported.

Change-Id: I02d436184d63c6880c7b1dc6b4b6119fba76e9a7
audiosystem: support for samsungs isSeperatedStream()

Change-Id: I36d7f8317186294c4ab0ebb4392f6e166e4f08af
telephony: added support for samsungs realcall parameter needed for incall audio

Change-Id: I36bb3259b7844c4b26385694718391a032e1a016
GCC 4.7 now correctly implements the two-phase name lookup rules

Change-Id: Ib459331212c6576c16ce688972d989f21e9263e6
See: http://gcc.gnu.org/gcc-4.7/changes.html
Merge branch 'gingerbread' of https://github.com/CyanogenMod/android_frameworks_base into fredvj