SystemUI: disable statusbar time refresh when screen off

When screen is off, don't refresh the status bar to save power.
When screen is on, refresh immediately for user experience.

Change-Id: Ie250e20bab57c096a16886680a53263c635bf6f4
Expanded Desktop : Fix Left handed navbar during landscape mode

from http://review.cyanogenmod.org/#/c/57454
when you enable expanded desktop and left handed navbar.
you need to swipe from right edge to show navbar.
but this patch will change to swipe from left edge to show navbar.
Video avalible at http://youtu.be/rUy14LQj9iE

Patchset2 : change tab to whitespace
Patchset3 : remove \r after @override in PhoneWindowManager.java
Patchset4 : Update commit message
Patchset5 : Address code formating comments
Patchset6 : Whitespace

Change-Id: I65a15c6f5e662e429a818484de6b71e81c7ae713
Fixed a possible infinite loop in JsonReader#skipValue()

Bug: https://code.google.com/p/android/issues/detail?id=65846

Change-Id: Idaa0e75fc5612550c4b9ccb9afa5535ea5b189df
A background started service is removed from mStartingBackground when timeout.
Fix is to make sure mStartingBackground is updated to remove one.

Change-Id: I0e42beb550d33e6e400349b85bbb89848e18d520
Sensor: Enable the motion accelerometer for screen orientation change

The screen orientation can be detected by the motion accelerometer
instead of generic accelerometer to save power.

Change-Id: Iaeb3e5958d2ef7cc33080d7091ed8a5462695c67

Missed conf
Lockscreen Blur: another fix
Finish fixing Zygote descriptor leakage problem

In order to prevent Zygote descriptors from leaking into the child
environment, they should be closed by the forked-off child process
before the child switches to the application UID.  These changes close
the descriptors via dup2(), substituting a descriptor open to
/dev/null in their place; this allows the Zygote Java code to close
the FileDescriptor objects cleanly.

This is a multi-project change: dalvik, art, libcore, frameworks/base,
and external/sepolicy are affected.  The CLs need to be approved
together, lest the build break or the software fail to boot.

Round 2: indent change

Bug: 12114500
Change-Id: I090402136a8a8b7d6aad6eb153026e85d7cf6ad3
audio: Set slient persist property according to ringer mode

Update the persist.sys.silent property when setting ringer mode.
This property could be used by the native layer application.
Example:
Bootanimation could check this property to decide whether
background music is needed.

Change-Id: I64311fcac9d4c3729b38fc2b597dc478d6de4d7c
AudioService: add STREAM_DTMF to stream affected by ringer mode

-STREAM_DTMF volume muted when phone in vibration or silence
 mode but will not restore when back to normal mode by setting
 STREAM_RING volume to 1
-Add STREAM_DTMF to the list of stream volume affected by ringer
 mode

Change-Id: Ib91d6b2c09e10b5cd86ae192cf334c69884da294
CRs-Fixed: 549908
Show panels on lockscreen in expanded desktop mode.

https://github.com/CyanogenMod/android_frameworks_base/commit/d9bc1b3854d4f1a2bc3c2dfb47f731ab427f048c
DocumentsUI: DE-Translation (add custom strings)

Change-Id: I3f632829baf221c92322d202f81d240919fdcb28
Revert "Use canonical path for /vendor/app"

This reverts commit e392417ab122ee5078d9da3db45704f1082ec7a0.
Revert "BootMessage: show more info in boot dialog"

This reverts commit d827dc1e69209d41c376a7c3411e025163c112d2.
[1/2] Speed up booting on multicore devices.

1. Add multithreading support to Installer/installd.
2. Parallelize package scanning.
3. Parallelize boot dexopt.

Change-Id: Id42b2bf4a737f93f9ecd9b5819344adbb735f0fb

Conflicts:

	services/java/com/android/server/pm/PackageManagerService.java
FLAG_PRIVILEGED disappears if privileged app is updated and rebooted

Since Kitkat, an app pre-loaded under /system/priv-app/ has
FLAG_PRIVILEGED. However, if the app updated and the device
rebooted, privileged flag is unset from pkgFlags. This patch
fix issue to assign privileged flag when scanning the updated
packages.

Bug: 12640283

Change-Id: Ic24b5882f65dabdfae9cc39da3d68661bed4fc31
Add back qs tile margin

I'm tired of fake bug reports
Revert "Revert "SystemUI: apply alpha value to all layouts.""

This reverts commit 3dbb3d7f1eea68d70ce6a962f0c5cf1aef7a5932.
VolumePanel: Don't force navigation bar

It always annoyed me that when changing volume while in immersive the navigation bar is shown.
Fix descriptor leak after accepting connections

After accepting a connection on a listening socket and
storing the resulting FileDescriptor into a newly created
LocalSocketImpl, the new impl's "descriptor was created
locally and should be closed normally" flag should be set.

(cherrypicked from 3e7305c6bf6062b5cb1e2ddcec6c6d30b4a8bc0d)

Bug: 11805817
Change-Id: I0a1a7c62ec3fbcf647a44a22110ddc778d14e5f4
Fix memory leak in PatchCache

Patch object should be deleted when removing its corresponding
cache entry from PatchCache.

Change-Id: I8dfd7f557f6e5c6e9a9c04ba915372790e6f34f5
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>