add Settings.System boolean helper methods

Change-Id: I749d15a7c6956d938698f16ebde185b114f7f15a
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Navbar : Fix left over glow

Invalidate all buttons, to avoid nearby glow interference

Change-Id: I83ab05b91bd5db70390a5c9480513768864a2be7
Revert "Revert "GC triggering performance optimizations""

This reverts commit 7074ebc42fe4b6c895bbf649b8e3fee812c95d82.

Change-Id: Ibcef7c288d238b88778ac49d69a81de0df3be161
Settings: cleanup

Change-Id: Ib7207317ed1e59721194d4fff0e52949aa6ab113
pie toggle, rootbox icons

Change-Id: I765fa63ee6a3cc169992aaea7bb79c81278e0dfa
FIX Null Pointer Exception on dialog cancel

Null Pointer Exception occurs because mWebViewCore instance
is made to null while calling destroyJava(). When
1.webview hosting activity goest to background, without calling webview onPause().
2. If app is launched again (having launchmode:singletask ) and another activity (not  webview hosting) comes on top top.
3. It destorys the previous activity holding webview which internally tries to cancel the dialog, but webviewcore instance is null.
Null pointer exception is raised.

Change-Id: Idbcd30d0b0d4a35819444bbaa5c73cced8bb35a3
Signed-off-by: Amit Kumar <amitkecian@gmail.com>
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean
PWM: disable HW overlays for PIE

SurfaceFlinger wont wake up the GPU in SysUI's fullscreen state,
probably because it does not occupy any tangible region. That sets poor
PIE into software rendering, which has bad effects on transparency and
mdp compositioning. Disabling HW overlays as long as PIE is active seems
like a good alternative for now.

Change-Id: Ie7ed720edc5bbdd0cfb79c34a22996cf15fcd79b
simplify pie toggle icons

Change-Id: Ic251638b25e9cf09ba058c47b5b5cf383f6698a6
circle battery

full credits go to CyanogenMod

Change-Id: Iaafd11133047791bab5f6155491a8acc57b31009
circle battery bugfixes, margins, per-app-color

Change-Id: I8888a8bc401f6086836ff8d6827c6aa1ac20f9b4
circlebattery bugfixes

Change-Id: I97bb4f28523d26e4c3e549c04e82400a21d70a61
add tabUI to HW overlays

Change-Id: Ib352cb05c0dca1155b3d1c8fe3da4b16de898e44
PWM: check for expanded desktop on boot

Change-Id: I8f3883019b60138d8937bd85adc9231b0e18c595
Port "Framework Track Control : Switch from broadcast to audio service"

Ordered broadcast is unreliable.
Switch to using the Audio Service's dispatchMediaKeyWithWakeLockToAudioService
as it sends the event to the correct receiver.

Patchset 2 - Switch power widgets over as well
Patchset 3 - Rename handler 'what' message to be more consistent
Patchset 4 - Fix renaming mishap

Change-Id: I022720a551b94637f7b16258dfb6a22234bcb736
Forward port Quiet Hours settings

Change-Id: I4a7624a58421d8934eea89a9b7bde4539d3384db
revert to old data/signal null icons

Change-Id: Ia071717100c217b66c0498e174558b3c31f86b9b
Spanish translations

Change-Id: I923413322bd85f58523201cc28557ca7fb539fd8
Please don't hardcode strings!

This avoids translations and clutters up the code really badly.
Uppercase

Just to keep consistency