Status bar brightness control improvements

- Prevent brightness changes after notifications panel has been opened.
- Don't adjust brightness for swipes <45° from vertical.
- Stop using a VelocityTracker since we weren't actually giving it any
  events to track.

Change-Id: Ie28c5c186b692e3f308bba4a1ee02faeb0982ac1
SystemUI: CA translations

Change-Id: I6ca2d048905be59354233aea315797bb47874181
frameworks_base: DA translation

Change-Id: I56c4df19601b11aae9508667646ac12ed248c212
PhoneWindowPolicy: Fix NPE race condition by excessive screen on delay

When screen on has an excessive delay mTopFullscreenOpaqueWindowState could
not be initialized. This derives in a NPE from a Power key press. If
mTopFullscreenOpaqueWindowState = null then PREVENT_POWER_KEY can be safelly
ignored

Change-Id: I04ce5d88f6f9abf02b2bbcdce4a2acad2f6451fa
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "frameworks_base: DA translation" into cm-10.2
Merge "SystemUI: CA translations" into cm-10.2
Framework: NL translation

ps1: QS performance profiles tile

ps2: move CAF strings to bottom

Change-Id: I63f73a78b659cc3da8c39583d9f4f2627fb3fcf4
core: RU translation

Change-Id: Ieffc693827aea4fc7a0e036e3cbd78924c691acb
Merge "PhoneWindowPolicy: Fix NPE race condition by excessive screen on delay" into cm-10.2
Base: SV translations

Change-Id: I76e25154e1cfa1b55cdb2bdb5c131dbf691aecb6
core: SK translations

Change-Id: Ic9522a57a058d6b2afee194d3780d25939bfa492
Move android-4.3_r3.1 config options

Change-Id: I9c51a13236795c18903e001a4070b7e8959b7278
Merge "Framework: NL translation" into cm-10.2
Merge "Move android-4.3_r3.1 config options" into cm-10.2
Merge "Status bar brightness control improvements" into cm-10.2
Merge "Base: SV translations" into cm-10.2
Merge "core: SK translations" into cm-10.2
Merge "core: RU translation" into cm-10.2
p2p: Flush the p2p scan result on group remove event

Flush out p2p scan results on receiving group removal event.
p2p scan window will be updated on next p2p scan.

Change-Id: I3bcfed355574478bda2cac688b7df956c2701683
CRs-Fixed: 504022
Wifi: wifi not connecting, once the APN gets disabled state

APNs are disabled on select network and they are enabled on
receiving connected event.
But forgetting an APN before the connected event is received,
will result all the remaining APN to be in disabled state and
they never connect.
So, Enabling all the disabled APN on forget network will help
to connect automatically to a saved APN.

Change-Id: I6ac5e9856d6ec0b72c089b159206abd2de98e6a3
CRs-fixed: 496165