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
Use actual storage type for format message strings

Change-Id: I214120303bf6c12c297332fa314ce80bc686da46
Double tap to sleep on navigation bar [1/2]
Adb Icon replacement
Replace tether icons

Change-Id: Iad39323ef134f804f8c0b303dc2bf685cac76699
Support NoGapps style package signature faking

Unfortunately due to GMSCore libraries for clients carrying out
signature checks on the GMS app,
users are not able to use open source equivalents, and are being
strong-armed (by apps) into using
non-free libraries for these functions. NoGapps is an open source
implementation of these libraries.

Unfortunately, a patch like this is necessary in order to permit apps to
be convinced they are talking
to the closed-source GMSCore. As this "DRM" is implemented at app-level,
it's possible to do this,
without the Android OS itself being "fooled" by the faked signatures.

This commit is from the NoGapps project, I am just submitting it on
their behalf.
Originates from https://github.com/microg/android_packages_apps_GmsCore
Hide carrier in keyguard option [1/2]
Revert "Hide carrier in keyguard option [1/2]"

This reverts commit 8f4d7559a505b214c9cc4595e3e2f489220ff863.
Avoid SysUI force closing when enable/disable DSB System bar gradient option

Change-Id: I5d6dcea9f4d7187a9c14d8ef0dd5c1c874cb8d9f
perf: Send boost hint during initial launch

Change-Id: I26afc909c35e514958894b0a07a650a20ce6e537
Fix android_media_AudioSystem_getMasterMute return type.

Caused FPU stack overflow on x86.

Bug: 18023418

(cherry picked from commit c1bcdbb75877d99972f1cd13a9c40126822621bc)

Change-Id: Ia1b5a1da52b20c2e0a84321e784cd795ec649e66
frameworks: Hope systemui improved battery life

See this:
http://image.thinkingbridge.org/keyguard.png

Remove KeyguardTestActivity
WIFI: Fix wimax teardown when wifi connected

Due to patch:
https://github.com/CyanogenMod/android_frameworks_base/commit/f769f4cbc2aaac8d9d49f9ff79a6fe0affc4ff6e

Change-Id: I18e5ced62c8e4976f7a6835ba8c593930dac0586
Global Settings (MSIM): Add global settings for naming sim cards

Change-Id: Ibbd0d48042a92f82241a4ccaee12a81ca13ccdb4
SystemUI: Fix crash during notification/theme change

Fixes crashing that could occur when a notification is created
during a theme change. Entries were attempting to be added
to views which did not have a layout pass yet, causing it to fail.

When a theme change occurs, the fix is to halt the ticker and command queue
until a layout occurs.

BUGDUMP-151925

Change-Id: Ic19d26178df673a1d52981a8617415e6fbcb219d

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
core: Improve strings

* Follow the guidelines

Change-Id: If4dbfe00036d65dc56b7852ec5ddbfbe72c921a0
keyguard: fix chopped layout on hdpi msim devices

* adapted from commit fa06992ab7e49fe1e056787dd281384d92290be1

Change-Id: I23ebb212c96e3ef8aecebb43760cbea7d441b1fd
Better coding for HW keys enable/disable feature

Change-Id: I23e79d711064af276bbccd5bc812f8a2aef8db13
[Base] Ability to turn HW keys on/off on supported devices (1/2)

- Enabled through overlay in devices repo

Change-Id: I5ca53bf60482392298c7ab6de3efe17abf20b2b9