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
core: zh_CN translations

Change-Id: Iabff7326a7237d28c41787458bc05f41eb77d359
Frameworks_base: PT-BR update translations

Change-Id: Id545b9f4566303799c2b1264c726de80984f2787
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>
frameworks_base: DA translation

Change-Id: I1f8fc6f36d110ba0d8bad477dc2329fe7236d101
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
Revert "p2p: Fix for discovery failure until AP is connected in WFD client"

This reverts commit 738434a7df1cf7d0aada02e7905bdb4a51b5d3d6.

Change-Id: I4c1f061aa26077134029527dfc3e55112fed5038
CRs-Fixed: 532138