keyguard: fix delay lock screen sound

Change-Id: Ia4cd2c856df1573856386e1597dcc0a9600d25a5
JIRA: CYAN-3362
Issue: https://jira.cyanogenmod.org/browse/CYAN-3362
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Addition of automobile profile and group apps

Additions
- An automobile profile to improve the OOB experience
- New apps to the profile groups...Google Calendar, Google Hangouts

Change-Id: I4b728b257ebd68aae3695b9dd30496cb63efee39
[2/2] Left handed navbar during landscape mode

This patch allows for the navbar to be moved to the left side of the
screen during landscape mode. Left handed people are more used to this
option.

This patch must go with another patch that changes
packages/apps/Settings

Screenshot: http://i.imgur.com/jWqJcEV.png

Change-Id: Ic95e3fda1f55efd2ec908c8d7226e638ec0ab80a
Merge "keyguard: fix delay lock screen sound" into cm-11.0
Merge "Addition of automobile profile and group apps" into cm-11.0
Merge "[2/2] Left handed navbar during landscape mode" into cm-11.0
 [2/2] Frameworks: HALO Forward port from jb.

Change-Id: Id1d6baa2ab95ecf405c02c5d82732d1f545fc10a
PS1: Initial port Fix conficts with notification LED Fix derp Major derp HALO Mods Rebase Fix blackist, code clean and added some TODOs
PS2: Fix build
PS3: Fix bubble sometimes doesn't respond on new notification
PS4: Align halo icon
PS5: Keep floating app in recents and disable transparent layer temporarily (NOT INCLUDED)
PS6: Fix conflict after recent merges
PS7: Cosmetic fixes: Fix buttons layout in status bar. Status bar button holders show halo + qs switch on notification and qs edit mode + notification switch on qs. Update new margins size. (PARTIALY INCLUDED)
PS8: Rebase Clean white spaces Toggle on/off from notification shade icon (remove red X) Standardize behavior (remove option to reverse tap/double tap)
PS9: Remove references to LayerActivity
PS14: Rebase
PS15: update halo strings to prevent conflict with latest changes
PS16: Wrap all things! Modify halo behavior
PS17: Get the correct activity stack: this makes all windows in the same stack to get the floating mode
PS18: Stop pop-out on rotation
      Catch "silent" notifications
PS19: Rebase
PS20: Rebase, fix conflicts with recent merges
PS21: Fix missing commit messages from previous undefined patchset (19) and other conflicts
Change-Id: I257b7109cc1efd146a1e7096143f45c4f9dc8f98

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
HALO: make windows moveable and scaleable [WIP]

Change-Id: I8c3118f6d548dc70f186454fb8d15a4bae9bbeb0
[1/3] base: allow disabling non intrusive incall ui

Change-Id: Icbc1ccef75cb297da8a7974ed451da8b4e6e9b9b
 Navigation bar dimensions (1/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav bar

This is partially ported from SlimRoms
Thanks to @kufikugel

Change-Id: Ic2bfb32684c3d74062d123266db1516e09d92fb6

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Custom clear recents button (1/2)
    - Option to show/hide
    - Option to choose which corner to place (top left, top right, bottom left, bottom right)

Thanks omnirom team
Original commit: https://github.com/omnirom/android_frameworks_base/commit/dc9ddf62c4a0b1710ad3ce4bdf19ce5dcf63094c

Change-Id: I9c15fee94de38cd94a8d685b76a43af58c48bd5e
[1/3] TeloRadio frameworks_base
	* Defines preferences

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: If67710ad70ef3a21a05a512225f2c39c604330b5

Conflicts:
	core/java/android/provider/Settings.java

Conflicts:
	core/java/android/provider/Settings.java
[1/2] Add battery level around unlock ring

PS2:
added missing change in KeyguardSelectorView.java

Change-Id: Ia4dbc2335657c096c34349ec67c4adfec0aeb91b

Conflicts:

	core/java/android/provider/Settings.java
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java

Conflicts:
	core/java/android/provider/Settings.java

Conflicts:
	core/java/android/provider/Settings.java
DocumentsUI: Add a standalone File Manager

This commit adds a standalone mode to the DocumentsUI, to let
it act as a file manager/explorer.
You can browse your storage contents, open files, and delete them,
as well as do everything that the DocumentsUI can do (ie. sort
by name/size/type, list and grid view, recents, search, ...).

This gives us a consistent file browsing UX accross all apps
that uses the new documents API.

Change-Id: If73a3c100f010bdb766c843976d4fd3573ea805c
HALO: make windows moveable and scaleable [WIP]

Change-Id: I8c3118f6d548dc70f186454fb8d15a4bae9bbeb0

Conflicts:
	core/java/android/app/Activity.java

Conflicts:
	core/java/android/app/Activity.java
Fix HALO button with new CyanogenMod 'QS Tiles and layout' function

Change-Id: I5bd70f80b5b3cf4e8925488c73dca905ec456b12

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
Adjust Clear all button margin

Change-Id: I64e3652dbb41da42453177beb6b4c9f24d77b1c8

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
Status bar clock and date customization (1/2)
Thanks SlimRoms for this codes.
Based on this commit: https://github.com/SlimRoms/frameworks_base/commit/39545c535c0d0d6857dd769eeae8bda73955d3b1

Change-Id: Ib13e7fd18ae2f22c12eedb8adbae0127822faa6e
fIX build && ls settings

Change-Id: Ibeb154b816efa9a888116ad607f036941889bf34