Bury those beans

Change-Id: I19ec61ebb2def2cf3001a580eda7a25aea2f5dd9
Quicksettings: Few misc adjustements and fixes.

* Fix sleep time tile label on clean flash boot, was showing unknown till you set it in settings.
  Initialize screen timeout with default 30 seconds (wrongly initialized with 0 that is never compared).
* Use switch statement (better performance wise).
* Bit cleanup for wifi ap tile, useless resources reload.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
QS: Fix handling of dialer checks

Fixes an issue with network tile. Previously, if SystemUI crashed the network
mode tile would be disabled per the dialer check because constructor initialized
mUsesAospDialer to false.  Now we initialize it to the value of the system setting
and set it to 0 on shutdown.

Corrects display of disabled when the user has google dialer installed. Before,
the rssiTile would default to unknown.  Now it checks if google dialer is being
used and properly sets the disabled string.

PS1: Initial implement
PS2: Fix indents
PS3: Refactor content resolver
PS4: Update commit message
PS5: Style fixes

Signed-off-by: Evan Anderson <evan@thelinuxman.us>
Change-Id: I75cd767667924762fa432c29192674ce9c402c20
Merge "QS: Fix handling of dialer checks" into kitkat
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
Merge "Bury those beans" into kitkat
Merge branch 'kitkat' into xjparadroid
SystemUI: Add missing catalan translation

PS2: some corrections

Change-Id: Iee6dcef26aab68796cf22c2b26ccef5616056ff6
Revert "[1/3]Quiet Hours"

This reverts commit d1f9f1c3096df9918472526a89580fb8621b9cb4.

The implementation needs to be reworked

Change-Id: I4caf96e2e8f1bce4759308bd73e2f27da19aa811
Merge "Revert "[1/3]Quiet Hours"" into kitkat
Merge "SystemUI: Add missing catalan translation" into kitkat
Quicksettings: Fix derp in QuickSettingsTouchListener.

Change-Id: I08b6019fcdfeed042f8f7c532a52289e2417b7c7
Quicksettings: Immersive: Make last active state a system variable.

Will persist after reboot.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I8f9f62d67e7de079e59ce5292604efacec042bcf
[1/2] Speed up booting on multicore devices.

1. Add multithreading support to Installer/installd.
2. Parallelize package scanning.
3. Parallelize boot dexopt.

Change-Id: Id42b2bf4a737f93f9ecd9b5819344adbb735f0fb

Conflicts:

	services/java/com/android/server/pm/PackageManagerService.java
Disable safe headset volume warning

In some countries, regulations require that a warning be displayed
when the media volume is being raised above recommended level while
using a headset. As this is regulation we don't simply remove the
warning, but instead give the user the option to disable it.

In this implementation, the user is presented with the warning at
least once, at which point they are given the option to disable it
completely (via on-the-spot preference).

PS1: initial commit
PS2: update to reflect changes to https://gerrit.paranoidandroid.co/#/c/3702/
PS3: add new drawable (thanks Arz....finally)

Change-Id: Ib29ddb7f0ed5b1d45ed56d13bd6f7e14d005da79
Spanish translations

Change-Id: I82918b674d0289cb37c8aa83d45c9fe9e456a9c5
VolumePanel: Don't force navigation bar

It always annoyed me that when changing volume while in immersive the navigation bar is shown.
Merge "VolumePanel: Don't force navigation bar" into kitkat
Merge "Quicksettings: Fix derp in QuickSettingsTouchListener." into kitkat
Fix: Correct string reference error

Introduced in https://gerrit.paranoidandroid.co/#/c/3729/

Change-Id: I1e2ce2e4ab0e01a95383b4933044f14f4124bc4c