SystemUI: Modify AOSP EL translation

It's too long to fit in the QS tile

Change-Id: Ib9c64c8b15909de629a70ede10777d06a416b715
frameworks: extend TorchService to be able to handle sysfs torch config

Some devices are still using a sysfs node to control the torch. Let's
support those configurations and properly shut the torch down.

Change-Id: I5fa1cccdcffad26dbfef4b2ee0eafe1218a5308b
Signed-off-by: Roman Birg <roman@cyngn.com>
Automatic translation import

Change-Id: Ia0e767120f828d67fa205888b84c92ffa649a8c4
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
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>
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>
Restore untrusted glStencilMask value on resume after functor

Fixes an issue where the stencil buffer is corrupted
(used in overdraw debugging, path clipping) when used in
conjunction with a HW accelerated WebView.

bug:15023700
bug:16465551

Change-Id: If201b503931380f7107a34e9a9a2f877a50f72b1
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
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
Fix NPE on tablets.

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

Change-Id: Ia912075d6dfdb32cd569d6040231dafa894b0c7d
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0_4412