{"push_id":1410024074,"size":2,"distinct_size":2,"ref":"refs/heads/n","head":"c992ca7c0a65e379b8c5eaa2fd5b586e159840f1","before":"240caabbf8997c9b8c38866942eafbe485ab2a81","commits":[{"sha":"d12c7ff519e3ad6fa382252f7ba1def98657e7f1","author":{"name":"liquid0624","email":"316b56422623df2861ff68ecc57546cb3d6e12f6@gmail.com"},"message":"Squash of leak & race fixes\n\ncommit 5c837244a550308a6b8fadf95275d50f6bf3b202\nAuthor: Daniel 2 Olofsson <daniel2.olofsson@sonymobile.com>\nDate:   Mon Jun 10 14:49:14 2013 +0200\n\n    Fixed race condition in Spinner.DialogPopup on null reference.\n\n    NullPointerException is triggered when DialogPopup is\n    dismissed due to object mPopup being null when not showing.\n    Race condition is triggered when dialog is dismissed before\n    touch event to dismiss dialog has been processed properly.\n\n    Fixed by adding a null check prior to accessing mPopup object.\n\n    Change-Id: I3c4fe9c279d92a7103fb4f68189d1d42beedc606\n\ncommit 4950d85c29bed35c0874858d094d5a0f628f1e54\nAuthor: Pawel Augustyn <pawel.augustyn@sonymobile.com>\nDate:   Mon Jul 16 11:23:54 2012 +0200\n\n    Fix for native leaks in YuvToJpegEncoder.cpp\n\n    Objects allocated by Get<object>ArrayElements function,\n    should be released. Add a fix to release this objects\n    in error cases.\n\n    Change-Id: Idf834523d93bb2dfd6b872e3b2179b7f1bba38f3\n\ncommit 463ac945502552ab0c06ae00c987d3c400161fe3\nAuthor: Michal Szynkaruk <michal.szynkaruk@sonymobile.com>\nDate:   Wed Jun 26 11:28:36 2013 +0200\n\n    Fix for MemoryLeak in InputMethodService\n\n    Problem: when onConfigrationChanged is called many times,\n    mInsetsComputer is added many times to the list.\n    Solution: check before if specific listener is already\n    in the arraylist.\n\n    Change-Id: Ic730395120d6dc8585628c142b2e161c42317f30\n\ncommit 5167ab57b2a1dbee38a5303e4b490a04b9dff950\nAuthor: Pavan Kumar S <pavan.kumar.s@intel.com>\nDate:   Fri Aug 3 12:03:01 2012 +0530\n\n    [BatteryStatsImpl] Avoid memory corruption due to Parcel Recycling\n\n    While processing batterystatsfile, in present code there is a race where a parcel\n    might be recycled while it is being written to disk in another thread.\n\n    The write process is done in 2 steps:\n    - write into a Parcel (memory block)\n    - then write this Parcel to disk using Journaled API.\n    The Journaled API ensures robustness against file-system issues due to power cut.\n    The writing is done in batch using a thread running commitPendingDataToDisk().\n    This function writes the parcel to disk but this parcel is a global variable\n    initialized by writeLocked(). If the writing takes too long time and two write\n    threads are launched, the parcel is freed by the second writeLocked() call;\n    which could cause the memory corruption.\n\n    Hence, change global Parcel variable by a Parcel parameter to commitPendingDataToDisk()\n    and only this function will be allowed to recycle the parcel.\n\n    Change-Id: Ie86ee0a66434b7107264c79f68411196c7505a34\n    Signed-off-by: Pavan Kumar S <pavan.kumar.s@intel.com>\n    Author: Pavan Kumar S <pavan.kumar.s@intel.com>\n    Signed-off-by: Shuo Gao <shuo.gao@intel.com>\n    Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>\n    Signed-off-by: Jack Ren <jack.ren@intel.com>\n    Author-tracking-BZ: 47466 19426\n\ncommit ab625310c19573caf5cdcf4c6ef573bbfbc8a26b\nAuthor: Vairavan Srinivasan <vairav@codeaurora.org>\nDate:   Mon Jun 6 13:42:54 2011 -0700\n\n    frameworks/base: Fix for the race in Wallpaperservice\n\n    Wallpaperservice has a race among message handler of\n    DO_DETACH and service's onDestroy. In certain cases,\n    the engine kept track in mActiveEngines is removed by\n    message handler of DO_DETACH and service's onDestroy\n    doesn't get a entry in mActivieEngines and isn't able\n    to invoke detach. This keeps the broadcast receiver,\n    mReceiver active and is unregistered by the framework\n    and a corresponding leak is reported.\n\n      Later, the message handler of DO_DETACH continues\n    and invokes detach on mEngine, which attempts to\n    unregister mReceiver and framework throws an exception\n    \"Receiver not registered: android.service.wallpaper.\n    WallpaperService$Engine$1@40874580\" and causes the\n    framework to reboot.\n\n      In case of system_server, WindownManagerPolicy and\n    android.server.ServerThread contest for access of\n    shared members, mActiveEngines and mEgine. Fix is to\n    protect the critical section via synchronized block.\n\n    Change-Id: Ice79cb8344fb54bcc6e9f76f4b143daac2608d7b\n\nChange-Id: Ib24d04673c5fff21533f7f00456df658cdbc6288","distinct":true,"url":"https://api.github.com/repos/DirtyUnicorns/android_frameworks_base/commits/d12c7ff519e3ad6fa382252f7ba1def98657e7f1"},{"sha":"c992ca7c0a65e379b8c5eaa2fd5b586e159840f1","author":{"name":"Alex Cruz","email":"59d6269bb53233bfaa68be7ab4e5f099db537b83@gmail.com"},"message":"Merge \"Squash of leak & race fixes\" into n","distinct":true,"url":"https://api.github.com/repos/DirtyUnicorns/android_frameworks_base/commits/c992ca7c0a65e379b8c5eaa2fd5b586e159840f1"}]}
{"actor":{"display_login":"JmzTaylor"}}