merge in klp-release history after reset to klp-dev
Set persist.sys.dalvik.vm.lib at system server startup

Bug: 11463182
Change-Id: I4409e84570c4e27bf8da36d0aca87812a1c032a6
Move set of persist.sys.dalvik.vm.lib to SystemServer only

Bug: 11463182
Bug: 11479647
Change-Id: I38efdecdd65fe3efc9c33b4dc204a64543ae6377
KeyguardViewMediator: Play lock screen sound sooner

When the screen is locked, there is a long pause before the lock
sound actually plays. This makes that sound happen much sooner.

Change-Id: I62547a183d68b93a33651c4078b5788d324055a9
Handle backup transport registration dynamically

Bug 11369873

Change-Id: I9bbdcc21ce25159c6645690123b5d03c553b0ddc
Add config_restartRadioAfterProvisioning

Bug: 11673637
Change-Id: Ie758a303fd751d204fd6baa60217e88df6376aae

Conflicts:
	core/res/res/values/config.xml
merge in klp-release history after reset to klp-dev
Handle backup transport registration dynamically

Bug 11369873

Change-Id: I9bbdcc21ce25159c6645690123b5d03c553b0ddc
PhoneWindowPolicy: Fix NPE race condition by excessive screen on delay

When screen on has an excessive delay mTopFullscreenOpaqueWindowState could
not be initialized. This derives in a NPE from a Power key press. If
mTopFullscreenOpaqueWindowState = null then PREVENT_POWER_KEY can be safelly
ignored

Change-Id: I04ce5d88f6f9abf02b2bbcdce4a2acad2f6451fa
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
QuickSettings: Port from cm-10.2 (Squashed commit)

Port quicksettings / ribbon from cm-10.2

Change-Id: I6710a62a82ed274eb9e8c86cd2a1faf657ae53f1

Quick Settings: Swipe to switch

Adds the ability to switch to / from Quick Settings, using a sideways
swipe gesture.

Change-Id: I3cab45f72fe3c5fa40d4631fc6a84ea7bfe51bd1

Improve notification shade auto-collapse code.

- When the user dismisses a notification by swiping, also collapse
  notification shade if there are persistent notifications remaining.
  Only skip collapsing if there are still non-persistent notifications
  pending
- When the notification is removed by the app, wait a bit until
  collapsing the shade so the removal doesn't come as a surprise to the
  user
- Centralize the collapse trigger at one place

Change-Id: I4e5114f66e799a7c80e18b38abce5678da460846

Make notification-shade-collapse-after-dismiss behaviour configurable

Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7

QuickSettings: Update all QS drawables to fit KitKat

- Recolored all drawables according to the new color theme
- Recreated some drawables to be able to include all in xxhdpi
- Remove some unused drawables

Change-Id: Ib5430059f67ff73677821122b8f2037094ba90c5

QuickSettings: Re-add Quick pulldown

Change-Id: I7bad553fe7eb4a3e91af69f811d99b74f7572aa3
keyboard: re-add code to detect lid state

This was lost in the cm-11 merge. Without this, a change in lid state
isn't generated to light up the keyboard backlight

Change-Id: Ief35cebcb62da13afe1ae7531d69ab58e196be9e
Merge tag 'android-4.4_r1.2' into cm-10.2

Android 4.4 Release 1.2
Merge "QuickSettings: Port from cm-10.2 (Squashed commit)" into cm-11.0
Merge "keyboard: re-add code to detect lid state" into cm-11.0
Merge "PhoneWindowPolicy: Fix NPE race condition by excessive screen on delay" into cm-11.0
Merge "KeyguardViewMediator: Play lock screen sound sooner" into cm-11.0
Merge branch 'Cyanogen/cm-11.0'

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_qs_2g3g_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_3g_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_battery_neutral.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_camera.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_expanded_desktop_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_expanded_desktop_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lock_screen_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lock_screen_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_lte_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_perf_profile.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_perf_profile_bal.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_perf_profile_perf.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_perf_profile_pwrsv.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_profiles.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_ring_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_ring_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_ring_vibrate_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_screen_timeout_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_screen_timeout_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sleep.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_unexpected_network.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_usb_tether_connected.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_volume.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_wifi_ap_off.png
	packages/SystemUI/res/drawable-hdpi/ic_qs_wifi_ap_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_2g3g_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_3g_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_battery_neutral.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_camera.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_expanded_desktop_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_expanded_desktop_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_lock_screen_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_lock_screen_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_lte_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_perf_profile.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_perf_profile_bal.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_perf_profile_perf.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_perf_profile_pwrsv.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_profiles.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_ring_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_ring_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_ring_vibrate_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_screen_timeout_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_screen_timeout_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_sleep.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_unexpected_network.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_usb_tether_connected.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_volume.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_wifi_ap_off.png
	packages/SystemUI/res/drawable-mdpi/ic_qs_wifi_ap_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_2g3g_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_2g_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_3g_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_battery_neutral.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_camera.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_expanded_desktop_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_expanded_desktop_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lock_screen_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lock_screen_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lte_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_lte_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_network_adb_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_nfc_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_nfc_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_perf_profile.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_perf_profile_bal.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_perf_profile_perf.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_perf_profile_pwrsv.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_profiles.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quiet_hours_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_quiet_hours_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_ring_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_ring_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_ring_vibrate_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_screen_timeout_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_screen_timeout_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sleep.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sync_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_sync_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_torch_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_torch_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_unexpected_network.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_usb_tether_connected.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_usb_tether_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_usb_tether_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_vibrate_on.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_volume.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_wifi_ap_off.png
	packages/SystemUI/res/drawable-xhdpi/ic_qs_wifi_ap_on.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_perf_profile.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_perf_profile_bal.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_perf_profile_perf.png
	packages/SystemUI/res/drawable-xxhdpi/ic_qs_perf_profile_pwrsv.png