Testing

This reverts commit 657f13a9520d3f93332d4585412a5713ce534997.

Revert "[ActivityManager] Do not finish root activity when reset task"

This reverts commit 17aff043cead21a6d4afceeb1b4498e356bf6683.

Revert "[ActivityManager] Move top task to top in window manager"

This reverts commit 3a6259771dda9e602265381579243df1f3a969fc.

Revert "[ActivityManager] Prevent potential deadlock from system error dialog and InputMethodManager."

This reverts commit 13288fff55a8afefb82fea392d923b457636453e.

Revert "[ActivityManager] Avoid keeping restarting home when only home activity exists."

This reverts commit a0f5bebb1d257d8702b0e53519669e34711058ca.

Revert "[ActivityManager] Prevent kill a restarted process again."

This reverts commit 174a79b4bc8d75cc7965ce5fa392d5f846da85d9.

Revert "[ActivityManager] Ensure alive process is not killedByAm."

This reverts commit 4fc23005b1bbc843c32413ca9ed2292dedd089cd.

Revert "frameworks/base: Fix binder parcel leak with getMetadata() API"

This reverts commit 6138096b8a6a69d3139390de92f30fe5bf1cbd86.

Revert "KeyChain: add explicit package for getPrivateKey."

This reverts commit a0bcf37d7109c76218daa6058262edb100ee11df.

Revert "Fix crash in widget pager - DO NOT MERGE"

This reverts commit 6530ed7146bc3f83023c41ed1b28d5a13ad75967.

Revert "Make sure we clean up"

This reverts commit 7834a038d102c9106b6d81b92e6e26b77145e50f.

Revert "Fixing parcel leaks to avoid virtual memory leak"

This reverts commit a8f21bc44ec2ad6d52cfa3c580b2369145389a04.

Revert "Remove getBoundTexture()."

This reverts commit 4d9d42ea41b2ca96e0eabacba1e214840d1ef90c.

Revert "update parameters in uploadToTexture() for GLES20"

This reverts commit 190a7d9b6b71a1ea3dd7780f761482c605e7fff2.

Revert "Fix the texture ID reuse issue in HWUI."

This reverts commit 86b1fdcf2da606ad038acb9caa2506454f4eb5cd.

Revert "Frameworks: Fix to avoid crash when the tab is not set."

This reverts commit 7f8a7d6f057bb703537be912d9cfda183f205373.

Revert "Added validity check for Pointer Index"

This reverts commit aa544dc53ca3b946a3f17b83366d34eeab2a9308.

Revert "Fixing IndexOutOfBounds Exception in ActivityManager"

This reverts commit f61621d795686842e651d67da54262fc94aa60c6.

Revert "Applications crash observed while selecting words from suggestion list"

This reverts commit c36eca9375437b7220391abc9ffab631c36a7ec1.

Revert "base: App crash when select suggestion's length more than specified."

This reverts commit fac2b3f9e41bb4b90cbfba46f4401fdb5a50ed70.

Revert "IndexOutOfBoundsException observed rarely in ProcessStats"

This reverts commit 575c3b5777e9165607104ee13ade7630f15bc802.

Revert "Fix a NPE when putting a null-Bundle in an Intent"

This reverts commit 7c0ca75f172a2bd191b4a4a2ad1f2a15cfc64711.

Revert "Use alpha channel instead of red in drawCachedGlyphBitmap"

This reverts commit 7e6c8b6bd95ad27b3a9656d3744b4da56f71aca5.

Revert "Set ActionMode title to the number of selected files"

This reverts commit 201ad0da9fe3b82617689c925837a34f71b95328.

Revert "Correct stride for drawing to cached glyph bitmap"

This reverts commit 90e6f7dbcb9a5954de9d5e03ed220f0adce6364f.

Revert "Avoid SystemUI crash due to NPE"

This reverts commit 6a1bd20f0ad7f37817ebfb7bc7e07c37c6089222.

Revert "Add TYPE_MAGNIFICATION_OVERLAY to InputWindowInfo::isTrustedOverlay()"

This reverts commit a747dce0b7700a6f04601ea607f1e2fb0b32b04f.

Revert "[ActivityManager] Reduce report ANR on wrong activity."

This reverts commit 381292dec8a4b96a6e5029a227b10712364d1f1f.

Revert "Fix error checking in MemoryFile."

This reverts commit 50e60fdc64dc4335ce85cf561577882e64020bdc.

Revert "MetadataRetriever: Check null pointer to avoid tombstone crash."

This reverts commit c5abb73548b903188e89a2db9d83853734da407a.

Revert "WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent"

This reverts commit 8e8e3dd30045351cd97fe698b2c5d0c99db200f0.

Revert "NULL previous background bitmap upon changing wallpaper"

This reverts commit e558bb4afaa9183476e6326d332e0071aef498a6.

Revert "Don't allow MemoryFiles of negative length."

This reverts commit dc83b1713cdd18c445101b14d26c613cfca1a8c4.

Revert "Always call super.onCreate().  Always."

This reverts commit 8dddb15ffe84287b8e3317d42c7f7f55c6880ebd.

Revert "ActivityManager: Update timeline debug statements"

This reverts commit 04efb66e732dcfddf0d0dc8e0b2fd5f89c032b3e.

Revert "frameworks/base: add app launch timeline instrumentation"

This reverts commit 73ed4d4b327c192b9355329765f239f459e04779.

Revert "Fix preference puts with "null" values."

This reverts commit f1213b66bbaabbd798b13f24074933076dcecd5e.

Revert "Fix dest == src bugs in Matrix.cpp."

This reverts commit 036f17d74ca8ecd5558f729941c9176b6358a4b4.

Revert "Remove unnecessary updateSurfaceScreenOn call."

This reverts commit 994ec87a5953a824b7d089d54ab245d8be940c8a.

Revert "Re-initialize error after attach"

This reverts commit 4919198f4d298cf9558ef7d25fb127c7555a88bf.

Revert "BroadcastQueue: fix class typo of next receiver"

This reverts commit eb814d1d450ba244d12738ea1faf86536a27d292.

Revert "Fix a variety of small publicly-reported bugs."

This reverts commit 5fa8366ed96773c36b5c8e403c2cada5e2b6bc6a.

Revert "Initialize pointer members to NULL to avoid illegal reference"

This reverts commit ffb6bede37a1bf3ba9c276936752bab5e5990b3f.

Revert "libaudioeffect_jni: GREF leak fix for JB"

This reverts commit 97be3b29900b4b2abfbf18f99f90990599d2d746.

Revert "Use checkOperation in BroadcastQueue."

This reverts commit af8f3c743619bf8730c60b5bdb862990d6a9bc7e.

Revert "Media process is crashing with NullPointer exception"

This reverts commit 2272173e12d9d179b4456ff5bebdec70d231c108.