Revert "Remove lag when launching an app"

This reverts commit aca76f926805e646c38d75a80b41485f1660c65e.
remove some lag launching apps and improve scrolling

Change-Id: Ib10c11a1a3a798e57ddd31f550461b9ebd17bc38

Conflicts:
	core/java/android/widget/AbsListView.java
frameworks/base: stop find before issuing wps pbc.

Stop p2p find before issuing a PBC to avoid GO switching to other
channel leading connection failure.

Change-Id: I88906f944de1c85b143f96cb7b35724af19cd151
Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>
VpnDialogs: filter obscured touches

Change-Id: Ifcc919c36006c88e36363f5160f9334df0cf7e5b
frameworks/base: Increase Zygote preload GC threshold to half the heapgrowthlimit.

Increase Zygote preload GC threshold to half the heapgrowthlimit,
to reduce boot up time.

ps2: add missing include

Change-Id: I6ea0f115e5f96836adec5ba9b796f54e6e898643
Fix NullpointerException in MediaMetadataRetriever

According to the API documentation and the ICS implementation
the setDataSource(String) method throws an
IllegalArgumentException if path is null. In JB a
NullpointerException is thrown instead. This fix restores
the earlier behaviour.

Change-Id: Ic47baadf91076acc227d92d84f6b8d1d6ecd0c03
[MTP] fix an ArrayIndexOutOfBoundsException

The object's file path may include more than 255 characters that is
out of MTP string limitation and this will casue a exception
"ArrayIndexOutOfBoundsException". This patch add checking for the
string length of path.

Change-Id: I74ca12e2bccd5f4644aadc79904fa0f3a3415a2a
Author: Changbin Du <changbinx.du@intel.com>
Signed-off-by: Changbin Du <changbinx.du@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 56769
TOMBSTONE happens in "com.android.browser" at SIGSEGV

It is monkey issue, add the flag to avoid the delete
method executed many times.

Change-Id: I78e21b4d4095ae5a95f0d786f9dd2f1fb405a23c
Author: Yijun Zhu <yijunx.zhu@intel.com>
Signed-off-by: Yijun Zhu <yijunx.zhu@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 63778
Fixing NULL pointer access causing segmentation fault in aapt

In cases where resource packages are generated which does
not have public resources for all resource types - NULL
pointers sneaks into the mOrderedConfigs vector causing
the aapt tool to crash. The solution in this fix simply
ignores the NULL elements when later processing the sorted
vector.

The NULL elements are inserted during applyPublicEntryOrder
function call

Change-Id: I8b7135932e2d235018da2e2f7e09f0d22f1b2f59