Add system setting for t9 search input locale

Change-Id: I780b3cca1ad2da396b76464a6dab5cc53f621ed2
IconPackHelper: Don't respect an icons original size if too large.

  - Otherwise, if an application isn't following app icon guidelines,
  it can create an OOM situation when creating the new icon based
  on the original resource's height and width.

Change-Id: I9430445da5e393cdbf76ed9ebd9698bf30df6a95
Automatic translation import

Change-Id: I5927a950623fb5ceea027632657880a591cf67af
ProximityWake : Add support for checking proximity when waking device

Change-Id: Ia5ff446d88435773acccc7467e66009000dc20cb
Framework : Fix proximity wakeup reference

Change-Id: Ia40ca6fbf6e37fbb3996f2384f725c30b88c2131
core: Fix permission string

Should always start with lowercase

Change-Id: I5ab97b8a6ca67c4d2460f606f09b4bed8c299401
SystemUI: fix hidden clock style after a reboot

Selecting hidden clock style and rebooting the device results
in both center and default clocks appearing when you'd expect
to see none.

mClockView is null after a reboot so visibility gets never set.
Set default visibility for clocks to gone.

Change-Id: I533af8c28042a5989e0025df133c9ccf1fa3e066
Use TYPICAL_PROXIMITY_THRESHOLD instead of mProximitySensor.getMaximumRange()

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: Idf23ac50c8ec52bad5fafadbdf8af69dd66c273e