SystemUI: Add double tap to sleep gesture

Change-Id: I4c54718e8ec8774677d13917b3a7ffa3b4b18cb5
Forward port CM Screen Security settings (1/2)

* Lockscreen Vibrate
* Slide Lock Delay
* Menu Unlock
* Home Unlock
* Variable size pattern lockscreen
* Toggle dots/error pattern visibility

Forward port from cm-10.2, adjusted for 4.4

Change-Id: Ie1ccaec43ca75474e92f96c60e15d7b75796ac5f
Navbar: Fix MDPI & HDPI landscape layout

Before: http://i.imgur.com/89SmFbX.png
After: http://i.imgur.com/UbuAggD.png

Change-Id: I6623cb97881313886de39a67baa98f7bd4b0696a
SystemUI: don't crash when user disable default apps

If the user has disabled the default clock or calendar application,
System UI will crash when the user clicks the Clock or Calendar
from the notification bar. This patch fixes the issue.

Change-Id: Icdc3679cdd35b5b3a24086e1ada67d0defabc5cb
Base_SystemUI: CA translations

Change-Id: I9698c88862fe090d8019d8ced8e792e80c1c2205
Clear the scan list when an empty list is received

When the framework receives an empty scan list from supplicant, it does
not clear the local list. So the UI will continue to show the previous
scan list even when there are no APs around. So clear the local list,
when an empty list is received.

CRs-Fixed: 552212
Change-Id: I8715bc31ce0df7bd54c96fcf7d7b73592429f12a
wlan: Error handling on PNO failure due to active P2P session.

If set PNO fails due to concurrent active p2p sessions,
handle the error condition in framework and issue a
regular scan for every framework background scan interval
until set PNO is either success or disabled.

Change-Id: Ia4e8d9aef9ed24e534cb57cea7c8ba7a7ffc509e
CRs-Fixed: 568458
Close sockets on wpa_supplicant termination.

Framework does not close the sockets on supplicant
termination, leading to leakage of file descriptors.

Thus close the socket on supplicant termination.

Change-Id: I50aefc6d60b3794288564f403a42258442e224df
CRs-Fixed: 576276
frameworks/base: add app launch timeline instrumentation

Displayed Activity is often being used to measure application
launch times. However Displayed Activity only accounts for a
subset of the app launch. This additional instrumentation will
allow for more accurate measurements of applications launch
times.

Change-Id: Ic0bc6f0110c3ecbbce9eccd9357818a8a898475e
wlan: Fix for delay in PNO scan trigger after p2p disconnect.

If PNO is disabled due to concurrent active p2p session,
on P2P disconnect PNO scan is not triggered until the next
framework scan is scheduled.
To mitigate this issue trigger the PNO scan on receiving
P2P_CONNECTION_CHANGED intent in disconnect state of the
wifi state machine.

Change-Id: I9de116f4c82ce103a5787f91b7c7129748fee517
CRs-Fixed: 584058
framework/base: get proper obb mountpoint based on user handle

Due to invalid obb mount point, CTS test case was failing to mount
obb file at /mnt/shell/emulated/0. Added new API to support user
based mount point for obb.

Change-Id: I9f113bd98ab3a4af00dd7f788b2dc3bc45627d6c
CRs-Fixed: 587497
base: NL translations

Change-Id: I12f577f751c23a9dc1837aa4603c12e58aadc558
Merge "SystemUI: don't crash when user disable default apps" into cm-11.0
Revert "Rollback Bluetooth changes for now."

This reverts commit abf66847cc824ac09aef80ba3d0059c8fafad865.

Change-Id: Ib3c2317e159c9b3bdba5fdcb02aeaf2683f883b5
Merge "Forward port CM Screen Security settings (1/2)" into cm-11.0
Revert "Revert "Rollback Bluetooth changes for now.""

  * Still causing too many problems. Going to back off from this until
    device maintainers check off on it.

This reverts commit 5e2d55e73b294a2f82f76aedc7a49df05641f305.
Hey, why we need this?

Change-Id: I5f96089a618adc415e14d6c6b22583c6e6300801
Signed-off-by: Kevin Liu <airk908@gmail.com>
Merge "Base_SystemUI: CA translations" into cm-11.0
Core & SystemUI: RU translation

Translations imported from CM10.2 and revised.
Also includes plurals' fix, for a greater justice.

Change-Id: I3d3e52b1bd76b0bb467e6e15b38b5940f6eb6a09
frameworks_base: ES translations

- core
- packages/InputDevices
- packages/SystemUI

Change-Id: I17385b430078571e16aa73a00f01503070ebc419