Port: Don't show phone unlock targets for devices without voice (1/2)

Add a separate list of default lockscreen unlock targets for devices
without voice capability.

http://review.cyanogenmod.org/#/c/52965/1

Change-Id: I2e9aa953bf9aeee4c492ae7514bedd9db408863b
Frameworks: PT-BR Translations

Change-Id: Idd00c8ea03af64b19624bb331987f2ac08c595c8
Frameworks: PT-BR Translations

Change-Id: I56687fb4aa28385eb57908a21c6ac29a48caee33
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
frameworks/base: IT translations

Change-Id: I0ddeb31a240c53adf81c361102b033abe5759fd6
Fix charging indication.

This commit fixes a number of issues in the new battery drawing code:
- Use the BatteryTracker instances consistently
- Don't indicate charging (by displaying the bolt or the circle
  animation) if the device is connected to a charger, but not actually
  charging, e.g. because of the charger not providing a sufficient
  amount of current.
- Fix some style issues (variable naming)

Change-Id: I957c8c525310170a3d4480047fbf6e92533c0296
Update immersive confirmation.

1. Disable panic mechanism for expanded desktop.
2. Separate confirmation for each expanded desktop style.
3. Add new layout for the case when navigation
   bar is hidden but statusbar is visible.

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

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

Change-Id: I6623cb97881313886de39a67baa98f7bd4b0696a
Merge "Port: Don't show phone unlock targets for devices without voice (1/2)" into cm-11.0
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
Merge "Update immersive confirmation." into cm-11.0
BluetoothManagerService: fix enabling/disabling BT from Quictsettings under second user,

Change-Id: I8173559b2c734968ef4a8d86fddaa3a73d5c2b1e
Frameworks: Update DE translation

Change-Id: Ie3affdef685844aa7132de03fc3b94f8318b7eda
Merge "frameworks/base: IT translations" into cm-11.0
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