Make Camera shutter follow device sound setting

Change-Id: I79628ddd0df9af86c2bd8f7629e5d2503b74c7f8
Revert "Use Dual panel"

This reverts commit 4aaf27296bcf8e6015b7cb816f25df7d008aef14.
clear all recents button
Quick settings: mobile data tile. onClick opens mobile network settings instead of DataUsage
Add method to PowerManager that allows querying the lowest possible
brightness.
Used by the auto-brightness adjustment to adjust the sliders.
quick settings: user tile onLongClick opens ACTION_SYNC_SETTINGS
quicksettings: swap the behaviour of the location tile.

onClick on/off
onLongClick open location settings
Fix StatusBar Brightness Slider
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
Kill Videos

Change-Id: If15d96542f99fd05f83926d00dfd8b76a943e8c5
Fix appwidgets not updating

Previously there was a bug where if an appwidget's update caused a
TransactionTooLargeException then the AppWidgetServiceImpl.Host's
callbacks were completely disabled, for all widgets.

The fix still allows a DeadObjectException or other RemoteException
to disable the host callbacks, as that would be caused by a bad host.

Fixes issue 28216 on the public tracker
https://code.google.com/p/android/issues/detail?id=28216

Change-Id: I5c5d5939d7211ed23cca69e6674de730b51b0f3e
Signed-off-by: Kevin Barry <kevin@teslacoilsw.com>
Improve AOSP Download/Upload animation

This increases the number of png required for a full download/upload animation cycle.
These new png makes the animations much smoother.
am: Allow more hidden apps on devices with lots of RAM

 * If more than 1.5GB is present, allow up to 40 hidden apps.
 * Number is somewhat arbitrary, but was found to work well on D2.
 * Also look at the sys.mem.max_hidden_apps value if given.

Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be51
ScreenShot QuickTrash
services: don't clear wallpaper when SystemUI
disconnects.

When we restart SystemUI (or the user), sometimes
the wallpaper would get cleared. This patch just
captures its originating component and
if that is our SystemUI component, ignore the event.

Change-Id: I3e159dc2c013e7d7e552e3c0cef55e3ab970ca87
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Revert "am: Allow more hidden apps on devices with lots of RAM"

This reverts commit 9bddde678d58fd253837a5e7e3a3b0876bde1162.