Automatic translation import

Change-Id: Ib1cdb754cded8a9e2fbe319199e1905bd7971674
localgroups: fix null pointer access

Change-Id: I2a5805fc00903bc427e62a924b06e10a48d0ffe3
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Keyguard: Save Italy

Being low on battery is bad enough, don't make those Italians
suffer from additional UI crashes.

Change-Id: Idb905a27fc107433595e4376f88deebe1bc0c3d8
Revert "SystemUI: Fix missing top task in recent panel."

See http://review.cyanogenmod.org/#/c/74397/

This reverts commit 0616667d980db1aa32d6dd1956d6fc2e232cf5a3.

Change-Id: I0d024a3b75204521546380c955680cb4c8c9468e
Core: Fix AOSP JA translations

Change-Id: Ie4068b23a3966131c42ed9611b06d5218e8ce2c5
wifi: show devices behind a firewall that are connected to the  WiFi hotspot

* Clients that are behind a firewall, in particular Windows-PCs tend
to not respond to the request invoked by the isReached(val)-method.
Executing a ping instead and evaluating the outcome enables us to
bypass the firewall.

Change-Id: If857545c7a4d5fbc9d2dc919096a9c84e64d6877
ProximitySensor: check for correct MaxRange value

Use TYPICAL_PROXIMITY_THRESHOLD for devices that returns incorrect mProximitySensor.getMaximumRange() value;

Presto's proximity sensor returns values: 0.0f(near) or 5.0f(far).
mProximitySensor.getMaximumRange() must return proximity sensor's availible range, but it always return 0, so mProximityThreshold is also 0.

So boolean positive = distance >= 0.0f && distance < mProximityThreshold;  positive will never be
true.
The cause of this problem is proprietary sensor.msm8660.so, it must set proper Range and Resolution for proximity sensor.

Change-Id: I0cf81fd20f210115cbd6db10c0070b12f1c57336