systemui: improve DessertCaseDream immersive mode exit

Change-Id: I9d68e3f2e63467ae2f842a99e0071b562dfb6b15
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
allow forcing HighEndGfx mode

people have already started fipping the lomRam prop to enable
transparent status bar, this will enable it with fewer
repercussions

Change-Id: Ied6de65276425fa1e7db0bf9da35f1932a355172
BroadcastQueue: fix class typo of next receiver

nextReceiver should be cast to ResolveInfo
instead of ActivityInfo since it's ResolveInfo
that is pushed into List r.receivers.
Otherwise nextReceiver will always be null
as there is no ActivityInfo in r.receivers.

Change-Id: Iea3a720e6d7296fedff318643a1b4f5b9fce900c
Signed-off-by: Leavitt Zhang <leavittz@nvidia.com>
Keep on notification LED while dreaming.

Change-Id: I407e34f9c60d3140f78abca133b4fda5dd45f311
JIRA:CYAN-689

Conflicts:
	services/java/com/android/server/NotificationManagerService.java
[2/2] Framework: instant led test

Adds support a new notification extra boolean
EXTRA_FORCE_SHOW_LIGHTS.  Used by settings
notification light picker to force lights on
when the screen is on.

Change-Id: If0a42d32b28fe8c02ef5f7dd148db7eb478fac17

Conflicts:
	services/java/com/android/server/NotificationManagerService.java
Make sure to turn off led after pulse()

setLightLocked() will update mColor. This will cause the led to not be
turned off after the pulse.
When notificationManager starts a attention pulse the led will be kept
on. Since attention is of highest prio nothing can turn it off.
This is fixed by resetting mColor back to 0 after the call.

Change-Id: Id60ef96e5c21b47c23002f0bcf2fae7fb3f2ca10
framework/base: Add EdgeGesture service.

Based on code of PieService.

Change-Id: I053737e36340a5ec6814b21eb87575f9689c7e88

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	services/java/com/android/server/SystemServer.java
server: Handle broadcast intent and receiver

Ensure the receivers of broadcast intent is not launched before boot
completion by adding an intent flag, since connectivity events can
happen before boot has completed.

Change-Id: Id6fc9e34c89d947d768def38e5c5bb0df54a3a7b
Release wakelocks acquired by SyncManager

Release the wakelocks internally acquired by SyncManager to improve
power performance.

Change-Id: I6d9663292cb4471d92ed9132beb7ed1ba2e8128f
CRs-Fixed: 585825
Display options: allow configuration of wake on plug
Merge branch 'kitkat' of github.com:AOSPA-legacy/android_frameworks_base into kk4.4

Conflicts:
	core/res/res/values/symbols.xml

Change-Id: Iea8adf1eb7e34bd326898678887ae2b80bb22a37
fix build

Change-Id: If1b4b9008c48b47bd5dfdae4dd4515b3c8c63dff