Fix glitch appearing when using translucent system bars in landscape.

Before: http://i.imgur.com/zJCjCvx.png
After: http://i.imgur.com/v563Shz.png

Change-Id: I0580ced6dcd614239ea0815bc9943c9bbe86eb99
(cherry picked from commit d547e9d0944b31b2d05378c30f47261571a93262)
qs: fix network tile description

Fix period at the end of the network mobile description, ensure that there isn't
trailing whitespaces and only call one time to the cleaner method when
the description change. Clean up unused imports.

Change-Id: I9b965015e30e44efa00220e91da7e8b3e773a0f1
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
(cherry picked from commit c40ba1dbf3b224088b72a5bf6c968d84ff72598b)

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTile.java
systemui: networkcontroller update default networks resources

Default network resources are locale dependent and should be update to reflect the
current user locale, if the locale changed.

Change-Id: I4688cc7132e0c0707ee30dd67ce025099655cded
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
(cherry picked from commit 42900a8533ed8aa0f9a8df0ea75d07e3ef84cd28)
Automatic translation import

Change-Id: Ia0e767120f828d67fa205888b84c92ffa649a8c4
(cherry picked from commit 23516beac7895f8b2f7a92fd89ca6f37d1c3f981)
Broadcast tethered client inteface along with upstream interface name

On change in tethering upstream interface for IPV4 of IPV6 address,
broadcast an intent with both tethered client interface as well as
upstream interface name, ip address type and update type.

Change-Id: I2f23e2b8ec125339bedd454446accb23e33cacae
(cherry picked from commit 5257ebe22588aa562aa5676f1159f809f65c3c91)
WiFi: Check data length before extracting

GBK to UTF convertion is carried on input data. The maximum data
that can be supported in framework is BUF_SIZE.
The gerrit is to check the size of input data  prior to parsing,
so that it will not lead to any crashes.

Change-Id: If8ff372dc26317b369643405dcea01ff28c4f1f3
CRs-Fixed: 708416
(cherry picked from commit f34f23550f64a9b9b9fa299fa5a6aeed8bfc975a)
Fix NPE on tablets.

Commit d547e9d0944b31b2d05378c30f47261571a93262 updated the default
navigation_bar layout, but missed the overlaid one. Fixit.

Change-Id: Ia912075d6dfdb32cd569d6040231dafa894b0c7d
(cherry picked from commit 9e3b7a07afc90b55e9679c3189bb840b49851844)