framework/base: Add EdgeGesture service.

Based on code of PieService.

Change-Id: I053737e36340a5ec6814b21eb87575f9689c7e88
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>
Merge "framework/base: Add EdgeGesture service." into cm-11.0
Merge "BroadcastQueue: fix class typo of next receiver" into cm-11.0
base: fix battery stats

* Fix IBatteryStats.aidl posititions. BatteryService.cpp from hardware sensors uses a position token
from the binder. The dock battery patch broke this order, causing sensor stats to be send to
wakelock stats, causing a breakage in the partial wakelock counter.
* Create a separate dock stats implementation to avoid collision in the internal statics variables
of the normal stats implementation.

Change-Id: I22c92d5941804449668530715bf5381b00164593
JIRA: CYAN-3127
Issue: https://jira.cyanogenmod.org/browse/CYAN-3127
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
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
SystemUI: modify AOSP EL translations

PS2: Trigger Cid

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I405cd1d6cd8e77141d948510676cce48df5ee339
(cherry picked from commit 8e6006cb3fe971a74e6656b3a09be6cf6cef5884)
Keyguard: IT translation

ps3: trigger Cid

Change-Id: I7bce75a97cee4412ed65f44996e9bdeb6b40039b
Frameworks: PT-BR Translations

Change-Id: I30077597fe27c82713c6afb0c6ab23f60709ba1e
Merge "SystemUI: modify AOSP EL translations" into cm-11.0
Core & SystemUI: RU translation

PS5: found a typo in strings.xml, which I overlooked in older commit. Fixit.

Change-Id: I696a3cb1aef5f35bc60faf17d95aeb4351dfd4d7
Merge "Frameworks: PT-BR Translations" into cm-11.0
SystemUI: Nl translation

Change-Id: I2205aad7c2346607447b204031c2afed2a83df82
Merge "Keyguard: IT translation" into cm-11.0
Merge "Core & SystemUI: RU translation" into cm-11.0
core/SystemUI: EL translations

Change-Id: I0edd61befb6eada40cafac2057b90d29ddc96aa0
Merge remote-tracking branch 'upstream/cm-11.0' into berserk