Improve notification shade collapse code.

- Collapse after dismissing the last notification
- Avoid duplicate code paths for collapsing
- Improve variable naming according to AOSP review suggestions

Change-Id: Ic6f26a61f263c5beebbcc9725fe8914d3858576f
Make notification-shade-collapse-after-dismiss behaviour configurable.

Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7
Re-add lockscreen music controls toggle.

Change-Id: I70fb6c0d20caad7af01a45b4a9374eb107a554a3
Fix Google Now animation.

Change-Id: I32efb2eb6dde3e1b45f4a7dd708003a85cfcc78b
Fix hidden navigation bar in expanded desktop mode not being correctly
reflected.

Change-Id: Ie40951c0787d3960a8e6e3b94544632f7633a376
Merge "Re-add lockscreen music controls toggle." into cm-10.2
Merge "Fix Google Now animation." into cm-10.2
Merge "Improve notification shade collapse code." into cm-10.2
Merge "Make notification-shade-collapse-after-dismiss behaviour configurable." into cm-10.2
Remove incorrect keymapping

Turns out Snakebytes produce all 0s for their vendor / product IDs. This
somehow got the vendor / product ID of an international apple keyboard, which
will break them. Unfortunately, this also means we cannot map Snakebyte
controllers at all.

Relevant bug: https://code.google.com/p/android/issues/detail?id=58202

Change-Id: I09d246b1ab793ec04a19d558f6b98badac48b20f
Remove deleted keylayout from Makefile

Change-Id: I8aecc00861cf99d8e7278519f4e2e6fb726b7e17
Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter.

This fix ensures that onFinished() is always called in a syncClient
even if the application lacks the READ_SYNC_SETTINGS permission.

Change-Id: I944717e71ceae06a665f8a3b1199b41d73e12da4
core: Fix aapt string warnings [translation]

Change-Id: I8c70d86b505dd1edd42e615781d080fc71896673
Framework: Generic Blacklist support (4 of 5)

Change-Id: Id6c85c9a537713ec77d00deb7f7fe5a9150be2cd
Show advanced reboot if using an insecure lock screen

Enables the advanced reboot menu when locked if the selected lock method
is insecure (= slide unlock).

Change-Id: I759b7b31c5411597e2537a85183d73ec02eb2461
unlcok google play

Change-Id: Id616e1f5e90aacaa6a8708958ca6325490fe83ba
ajust navbar/statusbar size

Change-Id: Ied183c698aa37ede93b6466ca6fdc49fb7893d80
move clear all buttom to bottom left

Change-Id: I21014f7c9d0d5bdd6659a6092e6605a78236c320
add navbar power button

Change-Id: I50ca19dd00d553761e0ebf737b170326f8b09e49
auto expanded desktop (framework)

Change-Id: Ifcb2b2a4813c557b5abacaca9992b0455495109f