Fix screen hang after dismissing a landscape alarm.

This is a squash commit of 3 ICS commits backported to gingerbread:

- Always unfreeze display.

Commit 161dc80ea754d987a905bc5814872168d581040d
AOSP-Change-Id: I7a0f3be49fe723fe59cf6268861bc5fe7f49bc62

- Fix issue #3330037: Unnecessary orientations appear...

...when the device's physical orientation is portrait.

We now hold off on computing app token orientation while preparing
to open or close app tokens.

Also clean up a few other little issues.

Commit 94cb2ebfc3e789384a4c32b24ac1522cdcb3ae79
AOSP-Change-Id: Iae125a975c7706fb4d068c872fd172e69854ff15

Fix issue #5508024: Rotation jank seen in live wallpapers

Fix a few places where we would unfreeze the screen too early.
Now that we are no longer relying on surface flinger freezing, we
can't depend on it keeping the screen frozen until surfaces get
drawn.

Commit 3ec891ae8067dd7afac5c0b5a8af0b726f4a4726
AOSP-Change-Id: Icb03bf30c9599a5e2016817bfa5ca6458adc7249

Change-Id: I8e716c71bb135d198fc5e9802ed13628461f11a9
frameworks: Added Dutch translations

Change-Id: Iedf357afd93611bf6e33f6513c69cdd914b625a6
Why are we updating current.xml? Platform packages can use @hidden internal classes. It seems because the build erroneously says to run make update-api, people are updating the API every time they add a new method or class. I am reverting current.xml to stock Android, because we should NOT be extending the public API that Android provides. Extending the public API and adding new internal classes are different things. Regardless, people are NOT using the CM SDK, so no is using these new "APIs" anyways. This will cause build breaks in the new Jenkins setup (hell, it was broken already, which is why I discovered this). We need to fix this.

Change-Id: Ie18bcb883cd16debbd00d31e9ea5597a3817c523
Merge branch 'gingerbread' of git://github.com/CyanogenMod/android_frameworks_base into gingerbread
@hide all the changes to frameworks/base...

Change-Id: I5c333102c2276d3dc68ba4e62c4f7322e8323fa4
Implement basic framework for fingerprint lockscreen

Uses reflection not to depend on proprietary jars

Change-Id: I86acf878ff51a14b3ca7d9962b62305f010e0b29
This causes make checkapi (and thus the build) to fail. Please fix this. All the checkapi failures were fixed in literally the commit prior.

(unknown): error 5: Added public field android.app.admin.DevicePolicyManager.DISABLE_FINGER_LOCK
(unknown): error 5: Added public field android.app.admin.DevicePolicyManager.ENABLE_FINGER_LOCK
(unknown): error 5: Added public field android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_FINGER

Use the @hide annotation on those.

Revert "Implement basic framework for fingerprint lockscreen"

This reverts commit 3496383906750b7ca928078e60fcbc49097b708e.
Implement basic framework for fingerprint lockscreen

Uses reflection not to depend on proprietary jars

Change-Id: I321d3f8e7dbbee4c504864f1defed954bc22053b
Merge "Implement basic framework for fingerprint lockscreen" into gingerbread
policy: don't lock users out if they wipe their fingerprint database

If users delete their fingerprint database and proceed to lock the
screen, let them in so they can configure another lock method.

Also fixes a typo

Change-Id: I006a86e5e0f72a3d08d5c0b3a96cc659fecbeede
Add more CDMA SamsungRIL fixes.

Adds a collection of CDMA device fixes to SamsungRIL.  They include:

- Overriding ERROR_UNSPECIFIED fail cause with NORMAL_CLEARING, to prevent
  far-end hangups from displaying the "Call Lost" dialog.

- Adding, and ignoring the RIL_UNSOL_GPS_NOTI request, which is also
  ignored in the TW RIL, to keep the radio log clean of exceptions when the
  GPS is active.

- Workaround for Samsung CDMA "ring of death" bug.  See source comments for
  details on this problem.

Change-Id: Ida4797718ad3463d073a6fc27246cc916526d487
policy: do not count invalid fingerprint swipes as bad tries

Change-Id: I8179aadaf78a3d492524c9aeadce09b32ae992b6
Merge "telephony: Display Supplementary Service Notifications." into gingerbread
Merge "Add Motorola Wrigley 3G RIL." into gingerbread
Merge "Fix battery charging detection in NotificationManagerService" into gingerbread
Merge "frameworks: Added Dutch translations" into gingerbread
Merge "policy: do not count invalid fingerprint swipes as bad tries" into gingerbread
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.