Keyguard: Ensure that a widget and page is attached before attaching the ChallengeLayout.OnBouncerStateChangedListener

otherwise it can result in a NPE due that the page was not loaded. Especially on low end
devices this can happen (see zoomOutToBouncer() method @KeyguardWidgetPager)

Change-Id: I7e940eb2fdf885f158f4c5ff2872ebafcda76da0
core: add support for translucent volume panel

Add support for display the volume panel in translucent mode

Patchset 4: Make it depends to high-end graphics flag

Change-Id: I4f21a6cc88282789072a0e71ae696b754a5e083e
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Revert "Fix stencil buffer bug."

This reverts commit ea327b48b495168872c1c758c7c744890496650f.

Change-Id: I8e4b8b4c6cf48930907cdb52c95135dd6f338af2
Display: Dirty region propagation

Pass Dirty region values from HW renderer to Surface Texture.

Change-Id: Ibd121ed398a1319d3daf26f9fd39a03323bba666
base: apply custom timeout upon volume dialog instantiation

The custom timeout is correctly applied at runtime, but after a reboot
the VolumePanel will revert to the default timeout, since the custom
value is not read from the config during instantiation

Change-Id: Ifa389011247adeee70ad5f3ff0b0072dd3dff02a
server: Handle broadcast intent and receiver

Ensure the receivers of broadcast intent is not launched before boot
completion by adding an intent flag, since connectivity events can
happen before boot has completed.

Change-Id: Id6fc9e34c89d947d768def38e5c5bb0df54a3a7b
Release wakelocks acquired by SyncManager

Release the wakelocks internally acquired by SyncManager to improve
power performance.

Change-Id: I6d9663292cb4471d92ed9132beb7ed1ba2e8128f
CRs-Fixed: 585825
SmoothProgressBar: Accelerate and Interpolator

PS1 : reformat the code
PS2 : use android animation interpolator

Signed-off-by: hany <hany.alsamman@gmail.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
	core/java/android/widget/ProgressBar.java

Change-Id: If1f3560fa3d25aa1e8d63a2263992b15e2f14a7c
Add ContentLoadingProgressBar support

ContentLoadingProgressBar allows developers to follow the policy for loading content
laid out in the style guide. The progress view will only show if MIN_DELAY
passes before the view is hidden. The progress view, if shown, will always
show for at least MIN_SHOW_TIME ms.

https://github.com/android/platform_frameworks_support/commit/befff92741b1f0629d9a9389a3889cca56d914a2

thanks @castorflex

Signed-off-by: hany <hany.alsamman@gmail.com>
PB: enable MirrorMode and Reversed if activated
enable pocket mode and show always if activated
core: fix volume panel more button transparency

Change-Id: I9f728256efbaf138611822079ea7737cd345bb19
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "Added sahlnaskh arabic font to Android.mk & fonts.mk files to actually get the font installed" into cm-11.0
Multi-user support for phones

Allow multi-user support on devices that previously didn't have it without
hard-coding it on.

ps2: Give it the nuclear touch.
ps3: Correct initialization.

Change-Id: I376f3f51ee1d8843d0977384101f93e23e278c97
revert teloradio

Change-Id: I172472a7bab7f87bb91e429111a2af7024225d70
Signed-off-by: scott <scott@ubuntu>
core: Fix too long ON/OFF strings

Use Unicode chars '❙' for ON and '〇' for OFF

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

Change-Id: I0e42beb550d33e6e400349b85bbb89848e18d520
Fix, MountService now only sends one onShutDownComplete

The event onShutDownComplete are sent only when all
volumes are shutdown. (Not one for every volume.)

Change-Id: I6af521ee8285ca581efac7d3c5f013dfbff3ee30
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
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
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	core/res/res/values/config.xml