Revert "[Base] Ability to turn HW keys on/off on supported devices (1/2)"

This reverts commit 99f17a2a1e58a5fe3de5d6ffacda0aad92905751.
future keeping
Frameworks: Implement Dynamic System Bars (1/2)

Change-Id: I3bc7102b2139fd1fa3de22aac096bd2a75bde878
Frameworks: Fix derp in NavigationBarView

Change-Id: Ie217ea2731baf5fe95d93220cd660840822929a7
Frameworks: clean up heads up text color code

Change-Id: I5998876f3abd3e928d6cf263b3b9dbebd7511182
Frameworks: Fix build

https://github.com/CyanogenMod/android_frameworks_base/commit/61b3688ce241a41dd5ce63c60285fdeb833a85a9

Change-Id: I98b5e78cfd6b499e799637b76f59ce6d93dd4ead
SlimRecents: 'Delete application' development shortcut

https://github.com/CyanogenMod/android_frameworks_base/commit/6cfa3cb2e576bb7ddcac80c1a5ad48c00b8ed574

Change-Id: I1ded638fca735cf78923b25ffa231e474e4dba9c
DSB: Add missing navigation bar buttons

Change-Id: Ib4417ebf2fa256a2e30a7459a34539dd3de24c58
Add left and right navbar virtual buttons into DSB

Change-Id: I9e343465e5ade8b0c16a7324c541b68ca2a6acbe
DSB: PS1 -> PS6

no big differences.
small underp

Change-Id: I3d653ac87c0bcb3ee9e469ecd62b0f21fc6fbc2f
SystemUI: Fix network label regression

Change-Id: Idb9cd41e3e7e4951eb8c1ad5fe5321c2420f9d32
SystemUI: Avoid NPEs during status bar recreation for MSIM

PS2:
   * Clear the subs views on recreation
   * Unregister receivers on recreation

Change-Id: Id131ffac497f46a753a97b479823e51fda7c412c

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
msim: initialize sim icon to the known state

- When system ui gets killed (for instance, during a theme change),
  MultiSimNetworkController may not receive the SIM_STATE_CHANGED
  for both sim cards.  Instead of initializing the sim to "ready",
  query for the actual state at initialization

Change-Id: Ia7f63827bbddca77de3daf4d5d149ec79ab91d5d
Add support for single color notification LED (1/2)

Change-Id: I367af77036da9e87c6dd0df552ce4c56d945a44d
SystemUI: Fix RemoteDisplayTile crash on clean boot

Previously a patch was put up to fix adding/removing tiles due to a race
condition and not checking with the executor was still active at the
time of onPrepare(), but we did not add the check to unPrepare(). This
bug only seems to surface on a clean boot.

Add the same check to unPrepare() to avoid crashing.

Change-Id: I7485ebed41aac94987305b436777bec45beac762
Signed-off-by: Roman Birg <roman@cyngn.com>
frameworks: fix setting default ringtone for multi sim

The defualt value for the ringtone expects a "_" between the setting and
the requested sim subscription. This was not being respected in the
mediascanner when it set the default ringtones, resulting in the setting
value being "ringtone2" instead of "ringtone_2".

Change-Id: I4a9147d579183229cc3300e71194e6f5ab74fbc6
Signed-off-by: Roman Birg <roman@cyngn.com>
Derpage
Merge remote-tracking branch 'origin/testing' into kitkat
linearlayout: fix measurement of childrens when parent and childrens have exactly the same pixels

When children measure exactly the same width/height than the parent, any child with
width/height == 0 and with weight > 0 must be reset. Otherwise, the view will retains
the same width/height between measurements calls (that is not valid if the view changed
its orientation).

This explain the bug in CYAN-5471 when in hpdi devices the spacer view has the same
width after rotate from landscape to portrait when language is german and date beewteen
September 10-30. Steps to repro in i9100 (hdpi):

1.- Set language to german and date to September, 10.
2.- First run, the expanded bar has the same width that its children (480px the current
screen size), but spacer has 0px (because it isn't being measured by linearlayout).
3.- Rotate to landscape, spacer gains space and all buttons are displayed correctly.
4.- Rotate to portrait, spacer has the same width that in step 3, because it isn't measured
again and delta == 0;

This patch forces this views to be re-measured to 0 to match the current delta (the views doesn't
need to be expanded or shrinked).

JIRA: CYAN-5471
https://jira.cyanogenmod.org/browse/CYAN-5471
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: Iab60337eca6ded7b2b4d57fdcc95863be461db34
Improve screen timeout QS tile

 * Use com.android.internal.R.plurals.duration_* for text
 * Use white icon as suggested here https://jira.cyanogenmod.org/browse/CYAN-3769

Change-Id: Idfedbc1e7a857dbfa05736810e09528852c8bfa3