Fix wrong 'USB debugging connected' notify color

Change-Id: I8ad4ce8652325e2e10dd529a934c8928ee0b149c
policy: fix "Skip on security" functionality

It was only working for fingerprint and pattern lockscreens.

Change-Id: Ib4d4d28f80256fbe669aeb5681ef6056b8f5f3d4
Revert "Fix wrong 'USB debugging connected' notify color"

This reverts commit e952e69b3177d3324696901a644160d4b24423be.
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
Fixed Proprietary info feild skipping in Samuel Berube's voicemail notification patch (#11318)

Change-Id: I783b438449a63134ba0f6ae332dd7dc3ddbd5c81
Applying theming to more framework items.

All dialogs and notifications should be covered now.

Change-Id: If93f81991361165a00b5b1b03ffc323e3ab42c0b
Make absolutely sure the theme change receivers are only unregistered if
they were registered before.
Fix percentage bar not appearing on first try to enable it.
Revert "Fix for disappearing status bar power widgets after changing T-Mo themes."

This reverts commit 42234e0a683b180b7be418d9f491d5c7dca23388.

Change-Id: I6ee2f3f57c8608a82896c14d6e168c6c1875b7a0
Fix for disappearing status bar power widgets after changing theme

Backported from CM9:
Clean up existing widgets before creating new ones to prevent
dangling references to the previous dialog's context, which
broke the insertion of a new widget set into recently created
ExpandedDialog views.

Change-Id: I16a3bab85bcc07dcdb3b189809f5dae528eff66a
Manage buttons inside of PowerWidget instead of a static map.

Fixes disappearing widgets on theme change due to clashing accesses to
the static map by the old and the new widget instance.

Also convert static to member variables at a few other places.

Change-Id: I42b4ad02c4eb8b57a2f4cf51a31148c4b0546b81
Restore audio effect connections after binder death.
Add missing software audio codecs for OMAP devices.

Fixes http://code.google.com/p/cyanogenmod/issues/detail?id=5290.
Fix race condition in DNS resolving.

If the querying thread was faster than the DNS resolving thread startup,
resolving would crash with the following stacktrace:

FATAL EXCEPTION: WebViewCoreThread
E/AndroidRuntime(7160): java.lang.NullPointerException
E/AndroidRuntime(7160):      at android.webkit.DnsResolver.resolveDnsForHostMap(DnsResolver.java:187)
E/AndroidRuntime(7160):      at android.webkit.BrowserFrame.startDnsPrefetch(BrowserFrame.java:248)
E/AndroidRuntime(7160):      at android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1400)
E/AndroidRuntime(7160):      at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(7160):      at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(7160):      at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:645)
E/AndroidRuntime(7160):      at java.lang.Thread.run(Thread.java:1019)
don't set the reserved bits0 and 1 for UCS2 encoded messages

fixes SMS troubles for Chinese users
0x0b was not a Class 3 specification as the bit 4 was set to 0
Restore ringer mode properly after cancelling dialog.
Send out a MOBILE_DATA_CHANGED intent.

The settings app widget expects that to be done for working properly.
Fix medium month name list, 'Mai' ist not an abbreviation.
fixed external BT gps date/time issue reported by Jason Lynch

Change-Id: I466f623a9f6066228d0749be0b3afeec91502197