Fixed Proprietary info feild skipping in Samuel Berube's voicemail notification patch (#11318)

Change-Id: I783b438449a63134ba0f6ae332dd7dc3ddbd5c81
Show PIN entry screen even if lockscreen is disabled.
Merge "Fixed Proprietary info feild skipping in Samuel Berube's voicemail notification patch (#11318)" into gingerbread
Create Kineto-compatible AudioTrack::set and AudioRecord::set methods.
Merge "Show PIN entry screen even if lockscreen is disabled." into gingerbread
Merge "Create Kineto-compatible AudioTrack::set and AudioRecord::set methods." into gingerbread
policy: implement Motoblur-like fingerprint tactile feedback

Allows the user to unlock the device without looking at the screen

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