SystemUI: Bring some Swagger Back

Was missed during the toggle rewrite.
Sundays == SwaggerSunday

PS2:
Alphabetize imports.
Change-Id: I4a6e436dc1a90cea282b4dd5a1daff7c6df892bd
FW: Updated czech translation

  Patch Set 3: Remove whitespace

Change-Id: Ida9f082acf3c43f0c09fa6b68b44ad8b0a0fc40c
Signed-off-by: kecinzer <kecinzer@gmail.com>
Merge branch 'jb-mr1' of https://github.com/AOKP/frameworks_base into jb-mr1
[HTML5] Implementation of WebSockets (framework).

Added binding to android port for Html5 WebSockets.
Added external API for enabling\disabling from browser.
SSL Web Sockets are not implemented in the current version.

Change-Id: I8b7a42780410cb9f043e1f16570ea50db68e00ea
Updated Japanese translations

- Add missing translations

Change-Id: If0e914884dc99b03ac7501de845d3351b3d15bd6
Signed-off-by: rdgate <rdgate@gmail.com>
Updated simplified Chinese translations

Change-Id: I0446f769ba726b1bcd228e6814e0a61a9015f486
Merge branch 'jb-mr1' of https://github.com/AOKP/frameworks_base into jb-mr1
Updated simplified Chinese translations

Change-Id: I75c61c10c5c28ab6f6b7522d14d7d117e391ed3d
Merge "Updated Japanese translations" into jb-mr1
Merge branch 'jb-mr1' of https://github.com/AOKP/frameworks_base into jb-mr1
Fix race condition in backlight adjustment.

When configuring the automatic backlight levels, there's a race
condition in setting the lux and brightness settings as the settings
provider doesn't allow storing multiple settings atomically. When
deleting rows, there's quite a high chance of DisplayPowerController
picking up a state where the lux values already have the lower number of
rows, but the brightness values do not, effectively leading to an
ArrayIndexOutOfBoundsException.

Fix that by
- waiting a second of cool-down time until applying the settings and
- adding a sanity check for the very unlikely case that the delay
  between writing both values is > 1 second

Change-Id: I44e41530fc5334aaefc4ab7d3a90542f78fabe0c
JIRA:CYAN-755
NavRing: fix icon size

This will add some icon resizing if the app icon is
bigger than the standard icon for the divice density.

Formatting.

Change-Id: I1a816eccd3c77158a0c9c7631c3a7334b4fb3c24
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Adjust margin of ActivityPreference

This will use all the space available in Settings and RC

Change-Id: I9c92770a5f4315eb50fb350d6a60d3789e424f59
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge branch 'jb-mr1' of https://github.com/AOKP/frameworks_base into jb-mr1
Merge "[HTML5] Implementation of WebSockets (framework)." into jb-mr1
Merge branch 'jb-mr1' of https://github.com/AOKP/frameworks_base into jb-mr1
It helps to catch the right exception.

Bug: 7238149
Change-Id: I7b60ec44d1d1d5ece8a871cb089f811b611f4a4a
Fix potential deadlock between LockScreen and WindowManagerService

If LockScreen is enhanced using SurfaceView/GLSurfaceView,
deadlock problem between LockScreen and WindowManagerService
can occur because of IWindow.resized() callback.
And it must lead to watchdog and reset.

IWindow.resized() callback is one-way function so calling resized()
callback of a remote IWindow object is never blocked.
However, calling resized() callback of a local IWindow object
(LockScreen is running on the same system_server process)
is always blocked until resized() callback returns.
Because resized() callback of SurfaceView/GLSurfaceView can lead to
WindowManagerService.relayoutWindow() call, deadlock can occur
between relayoutWindow() and performLayoutAndPlaceSurfacesLockedInner().
(Both functions need locking mWindowMap)

So this patch simulate one-way call when calling resized() callback
of a local IWindow object.

Change-Id: I2a6a5c74ed22d8e6b7a3bea3424ff2879d227105
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
hwui: This code should only be enabled with QCOM_BSP

 * Crashy crashy!

Change-Id: I1a06ac54a8ce2dccbf4a67424b0cbb6e7dd21e8b
Merge branch 'jb-mr1' of https://github.com/AOKP/frameworks_base into jb-mr1