Turn off some debug

PanelView: DEBUG_NAN = false

Change-Id: I8c46e531b609e6138df10359126e231b35aa9eeb

systemui: turn off debugging

should be all of it

-VanirAOSP

Change-Id: Ia279a1be6968f67a4ad448cf51743f4c455af88a

remove notification panel touch debugging

by associating it with a debug tag like it should have been in
the first place WTF?

Change-Id: I409f318e78b199d9453a3deeb5f3165bfb68f0ea

derp
Revert "Switch to Slim Incall UI"

This reverts commit cb4ba13e571f7ef57c73ea644a39d88b3dbb0c15.
Flip to Mute/Reject Call

Credits to OmniRom
Revert "Temp: Revert "ContentProvider: Avoid duplicate initialization of AsyncTask""

This reverts commit a9f1fae10d1b942acea9da5a28a8f7ed782a733b.
Revert "ContentProvider: Avoid duplicate initialization of AsyncTask"

This reverts commit 53137947a408f0e459ebf06d22a9af0a1ffd5f19.
hwui: Fix a sporadic crash seen during CTS runs

 * It's possible (due to race conditions) that a patch might be
   scheduled for removal twice. Just print a warning and continue
   instead of asserting and crashing.

Change-Id: I42865f6717816a743cc49ba15b839e6c3b57ed83
Fix for broken volume music controls
TaskUtils: Update

- Added dedicated animations. Thanks to CM
Don't unnecessarily set LayoutParams on children

Setting LayoutParams on children triggers requestLayout
which can be expensive and result in significantly lower
framerate for children layouts that don't need it. When
requestLayout method is invoked the needToMeasure boolean
will be true, this is what we'd like to avoid unless
it is actually needed.

BUG: https://code.google.com/p/android/issues/detail?id=72733

Change-Id: Id5d8f3431b5f943b1279eae41ee43d32a99514fc
Signed-off-by: Jacob Abrams <satur9nine@gmail.com>
SystemUI: improve one finger notification expansion

Sometimes the quick settings ribbon would eat the initial ACTION_DOWN
setting mInitialTouchY in the expand helper, but we are clearly not in a
notification that we can expand here. So only set the initial y point if
we are inside the notification scrollview.

Change-Id: I628553ac15cc6b4ee3c682fe46bd1d96c6bc154d
hwui: Apply hwui qcom fixes to all adreno-bearing hardware

Even if the device doesn't fully use the qcom stack, changes to
libhwui are generally workarounds for adreno-specific issues and
apply across the board without other dependencies

Change-Id: I10455ebf09c1d00762b06e3c092398604bb39796
Need to release CropView when destroy WallpaperCrop Activity

When we use default Gallery to set Wallpaper several times.
wallpapercropper process will crash caused by OOM.
So we need to call mCropView.destroy() to destroy TextureView
in CropView when WallpaperCropActivity try to destroy.

Change-Id: I211ff32da3ec02f148d4a9d437d57d93b07bc6f3
Signed-off-by: jshe32X<jianchunx.shen@intel.com>
view: make setWallpaperPosition() oneway

It is possible that live wallpaper can sleep or too busy
when setWallpaperPosition is called from the launcher.
This can block the launcher process and make launcher to
operate slowly as well. One way to fix this problem is
making setWallpaperPostion() oneway so the launcher
process does not wait for live-wallpaper process

Change-Id: Ifd98ec89945f554d5c53590aa264fb452cc77f23
Revert "[AssetAtlas] Avoid packing 1-pixel width or height asset into AssetAtlas"

This reverts commit c954e55f4f9577b096a06beaa4198f69ec185c96.
Revert "[AssetAtlas]: Fix AssetAtlas not consider all size of texture."

This reverts commit 367eb8488b5377f25640233b58010702324bffe5.
OptiPNG
-o7 -zm1-9
Fix for "volume buttons change two volume steps per click" bug

This bug happens on all devices since CM9 or CM10 times.

To reproduce:
1) disable Settings/Buttons/Playback control
2) start music playback
3) turn off display
4) click on the volume buttons

When "Playback control" is enabled, the volume changes on the button up
event of short clicks only. When it is disabled, it changes on both
button down and up events. This fix cleans up the code and makes the
volume change only on button down when "Playback control" is disabled.

JIRA: CYAN-3202
Change-Id: If97218e35a8204ef602155f22b7eaaa5e13fb93c

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Remove hard-coded DrawSelectorOnTop on ListFragment's default ListView.

When using the default layout of a ListFragment, the
returned ListView has its DrawSelectorOnTop property
hard-coded to false.
There is no reason for this, as this property is themable.
This change removes the hard-coded attribute.

Change-Id: Idc90fd04680c19d3731b30d84764858a28783864
Signed-off-by: Benoit Lubek <bodlulu@gmail.com>
Ensure to add Persistent Apps to LruProcess List on app restart

This change will ensure to add Persistent Apps to mLruProcesses
if not already present while restarting.Previously, on some
occasions, the process was not getting added to the list
resulting in SecurityException as this process was not found
in the mLruProcesses.

Change-Id: I26813a794e01aae316dffd3cf2bb38ab66ac69a9
[ActivityManager] Prevent coredump file may not complete for testing.

Sympton:
During testing, skip kill native crash process manually because it will continue to die by default.

Root Cause:
Large process may take some time to do coredump.In auto test, crash process will be killed immediately that results incomplete coredump file.

Solution:
If the tester (IActivityController) will handle app crash event,
Do not kill native crashed process if the rom is debuggable.

Change-Id: Ia360af147d694125d440e5ba2f958c4759a50494