Automatic translation import

Change-Id: I4036dcb86413768dcaaf37921cb79ffda5932a2c
Revert "Second Clock (1/2)"

This reverts commit a22db074e947ad6c54fbd9d6a2aa3fd076b515df.
*causes sys.ui memory leak, even when disabled

Change-Id: I1f3d8ca40849c617d44c126e4f2f4ade22bb1fc6
systemui: Unbreak the planet

 * Not sure who to blame, but it's probably themes... :)

Change-Id: I0c534354a699f756d809aff10843ebea21f3f369
frameworks/base: Fix delay in sending AUDIO_BECOMING_NOISY intent

AUDIO_BECOMING_NOISY intent is sent as background intent which causes
delay in receiving pause event. This delay caused audio leak. By
marking the event as FLAG_RECEIVER_FOREGROUND, this intent is
received sooner by Application.

Change-Id: Ib978cf8322dcddbc01f59824f95fa7800f9c35af
CRs-Fixed: 652549
Automatic translation import

Change-Id: I5e580d842ad178e562f7245be92539a69b3223ee
Merge "Automatic translation import" into kitkat3
Themes: Let ThemeService handle all theme processing [1/3]

Only themes that are applied will be processed inside of the
PackageManagerService, all others will be sent off to the
ThemeService.

Change-Id: I5f2ec628e1d22a05accc6727efb0c1387455f82f
[1/2] Immersive mode: option to disable force navbar when ime shows

Change-Id: I6ebeceb7e87084f0eeb47215aa837bf26d0d1f63
Update the volume panel color to match Hover

The volume panel slides in from the top currently making it look similar to Hove
r. As both the elements slide down from the top, there should be consistency in
terms of design.

Change-Id: Ifa4439f593b390014a3efb672bc2d00eef6fb869
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