{"push_id":714304231,"size":24,"distinct_size":24,"ref":"refs/heads/lp5.1","head":"30f2157e0e53d92d616e33360970e9c32b073db2","before":"3469235e6805487e3986222321c4bb4b403205fb","commits":[{"sha":"a37e64f88ad82050c3170e5f822e0890c1d5f0af","author":{"email":"4bada73e411a9c678a318a79d04d7df4a5fc4429@gmail.com","name":"Chet Kener"},"message":"Disable Fingerprint Debugging\n\n* Not like we need it for N5 anyways.\n\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/a37e64f88ad82050c3170e5f822e0890c1d5f0af"},{"sha":"dc1b7eab2b67a16b01f3152925d96e4b50f4b363","author":{"email":"254b97c9023ee3f28d29a29199880b404c323aaf@gmail.com","name":"liquid0624"},"message":"frameworks: 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\n    Conflicts:\n    \tcore/java/android/service/wallpaper/WallpaperService.java\n\nChange-Id: Ib24d04673c5fff21533f7f00456df658cdbc6288\n\nConflicts:\n\tcore/java/android/service/wallpaper/WallpaperService.java\n\nConflicts:\n\tcore/java/com/android/internal/os/BatteryStatsImpl.java\n\tcore/jni/android/graphics/YuvToJpegEncoder.cpp","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/dc1b7eab2b67a16b01f3152925d96e4b50f4b363"},{"sha":"8598fce55ece3e5d584d527b447d01149a740c84","author":{"email":"c21d2b0fb0f00753629cf5bfb27bd52cd3b39662@google.com","name":"Andreas Gampe"},"message":"Frameworks/base: Fix request removal in VoiceInteractionSession\n\nFix and simplify removeRequest.\n\nBug: 19797138\nChange-Id: I0eca877e3109c9f39cebd4c888f166ce334fcc0e","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/8598fce55ece3e5d584d527b447d01149a740c84"},{"sha":"c2852ae82b844c41545e6f5c82af01342de6ce27","author":{"email":"dea94a0844b5eabbd4facc1feb96e20a0f3b79ea@googlemail.com","name":"elektroschmock"},"message":"frameworks/base: Zen mode add 10 and 12 hours downtime\n\nChange-Id: I80304c58e5e4bb23a556896aa9f6c325f313ad65","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/c2852ae82b844c41545e6f5c82af01342de6ce27"},{"sha":"89c0407f43b357b7b69feef5d305900d76ec4eba","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"ambient display: Fix volume key music control\n\nPreviously the dream service would only report whether or not it was dreaming.\nAmbient display counts as dreaming.  When dreaming, the volume inputs are\npassed back to the application which is not what we want for ambient\ndisplay.\n\nFix this by exposing isDozing() and allow volume keys to control music\nwhen we are dreaming and have moved into doze mode (aka, sleeping).\n\nChange-Id: I3b1e72b95ec8b1b63ef0219259dfee77a5d339d3","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/89c0407f43b357b7b69feef5d305900d76ec4eba"},{"sha":"bd90c0c3ccff793c870e41d77f9e481c3791c446","author":{"email":"c1091660afaa5681c4ffbc68ec952005d4204441@sonymobile.com","name":"Daniel 2 Olofsson"},"message":"Fix to crash when clicking text link without view activity\n\nA generated quick link to telephone number gets clicked and\ncrashes if corresponding activity doesn't exist in device.\nIt attempts to open up an activity to view content which will\nin turn generate an uncaught ActivityNotFoundException.\nSolved by catching exception when launching activity for the\nspecified content.\n\nChange-Id: I47364519f1eceb5b978b29382107deae1891c7da","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/bd90c0c3ccff793c870e41d77f9e481c3791c446"},{"sha":"83d634446a6181916e0e089da1e1992c181c6844","author":{"email":"c21d2b0fb0f00753629cf5bfb27bd52cd3b39662@google.com","name":"Andreas Gampe"},"message":"Frameworks/base: Fix trivial equals implementation\n\nThe comparator's equal implementation doesn't satisfy the constraints\nof an equals method, namely being reflexive. Use the standard Object\nimplementation instead.\n\nBug: 19797138\nChange-Id: I74f888e99533e1945aab7ab10fe8ee3ded6388f4","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/83d634446a6181916e0e089da1e1992c181c6844"},{"sha":"bf1e10b4fc6dcb459b64d8e2e31cbcff3fa678a9","author":{"email":"a6e5c915e1099e6e1d75274634ed0fb987afce03@gmail.com","name":"Kyrylo Mikos"},"message":"Fix ellipsizing of emoji symbols in StatisLayout.\n\nChange-Id: Ia057053a7dd6e5a256499f6bded99872581de18e","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/bf1e10b4fc6dcb459b64d8e2e31cbcff3fa678a9"},{"sha":"7dc1eff80cd0045c7db1ba3eaa4e6ad3d5b092a1","author":{"email":"1d82eec1f711b943eef0e7ebf61127079ae6771c@curious-creature.com","name":"Romain Guy"},"message":"Prevent possible memory leak in SpanSet\n\nIf SpanSet.init() is called several times in a row with different\nvalues, it is possible to change \"numberOfSpans\" in a way that\nwill prevent SpanSet.recycle() from nulling out all the spans.\n\nThis can lead to memory leaks of large objects through spans\nreferences. User @piwai reported this leak:\n\n     com.squareup.marketfont.MarketSpan\n     `-[1] of array android.text.style.CharacterStyle[]\n       `-spans of object android.text.SpanSet\n         `-mCharacterStyleSpanSet of object android.text.TextLine\n           `-[1] of array android.text.TextLine[]\n             `-sCached of class android.text.TextLine\n\nThe MarketSpan instance is kept alive through a recycled TextLine\nwhich itself contains a SpanSet.\n\nChange-Id: Idfb2233ca16895dbe735c312662eaf0b4a2ecd65","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/7dc1eff80cd0045c7db1ba3eaa4e6ad3d5b092a1"},{"sha":"7cb5c5021cca468486831669f4df2e39fe656c47","author":{"email":"1c3cd843e61ac4edc7f5bd3d50de218c76fe2db9@htc.com","name":"wilson_shih"},"message":"[Framework] fix integer overflow while large number of text operator in SpannableStringBuilder\n\nSymptom: integer overflow and cause exception\nRoot Cause: integer overflow\nSolution: calculate with float and store back to integer then.\n\nTest Case:\nprivate String generateRandomString(Random rng, String characters, int length) {\n    char[] text = new char[length];\n    for (int i = 0; i < length; i++) {\n        text[i] = characters.charAt(rng.nextInt(characters.length()));\n    }\n    return new String(text);\n}\nvoid main() {\n    Random rng = new Random();\n    String myString = generateRandomString(rng, \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\", 99999);\n    String replaceString = generateRandomString(rng,\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\",111111);\n    SpannableStringBuilder builder = new SpannableStringBuilder(myString);\n    builder.setSpan(Selection.SELECTION_START, 65534, 65534, Spanned.SPAN_POINT_POINT);\n    builder.setSpan(Selection.SELECTION_END, 65536, 65536, Spanned.SPAN_POINT_POINT);\n    builder.replace(1, 65537, replaceString);\n}\n\nChange-Id: I8581b0dac9b7536cfa96a48e28ef53043f7b5c68","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/7cb5c5021cca468486831669f4df2e39fe656c47"},{"sha":"7d47b87be201555f5b2a4d3d188b930291d3c7cf","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"Fix another off-by-one error in computeEllipsis\n\nIn the START case, we can iterate back before the start of the\nstring.  A similar fix was previously applied to the MIDDLE\ncase of computeEllipsis:\n\ncommit 0e3c5e827235911d33312e431975533f046421e7\nAuthor: Raph Levien <raph@google.com>\nDate:   Thu Dec 4 13:26:07 2014 -0800\n\n    Fix off-by-one error in computeEllipsis\n\nFixes JIRA: NIGHTLIES-1280.\n\nChange-Id: I081eaec9bce5a8989c8fc1b0d440848b40a66158","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/7d47b87be201555f5b2a4d3d188b930291d3c7cf"},{"sha":"b154b5ef798c90a1136d9ef92d1fc28820e4c662","author":{"email":"d6424ecc823ca663bdcbaea8e2d9df58a4d0e2b8@the4thfloor.eu","name":"Ralph Bergmann"},"message":"fix NPE in TextUtils\n\nreturn false if String is null or empty. Fix NPE too.\n\nsee https://code.google.com/p/android/issues/detail?id=24965\n\nChange-Id: I7ce8a98f1e0753e905410ec469cd76a8b542d484\nSigned-off-by: Ralph Bergmann <ralph@the4thfloor.eu>","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/b154b5ef798c90a1136d9ef92d1fc28820e4c662"},{"sha":"4a71e3b00465c21df7919a76d74eec9bf92d1ff9","author":{"email":"c21d2b0fb0f00753629cf5bfb27bd52cd3b39662@google.com","name":"Andreas Gampe"},"message":"Frameworks/base: Add removeAll for ArraySet\n\nAdd a simple ArraySet.removeAll(ArraySet) method. This avoids two\nallocations, a MapCollections helper and an Iterator object, over\nthe removeAll(Collection) code.\n\nKeySetManagerService heavily calls removeAll during boot (about 9K\ntimes in AOSP). This reduces GC stress and optimizes the removal\n(about half the time the removed collection has only one element).\nThe removal method in KeySetManagerService is also done under a lock,\nso that it gates parallelization efforts in PackageManagerService.\n\nBug: 19498314\nChange-Id: Ib0e483adfd09831cd66ab19a820ebf6544a2b66f","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/4a71e3b00465c21df7919a76d74eec9bf92d1ff9"},{"sha":"6fbec5900d3c562f93662b80258cfb8d169ceaa1","author":{"email":"8109a214f4fbde05a2419142766aec363eac497e@ninetwozero.com","name":"Karl Lindmark"},"message":"Update the DisplayMetrics docs to reflect the current DPI buckets\n\nChange-Id: I995cac413dabae9cc114339d5942c41ea1d2355e\nSigned-off-by: Karl Lindmark <karl.lindmark@ninetwozero.com>","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/6fbec5900d3c562f93662b80258cfb8d169ceaa1"},{"sha":"e44fc4b90460fc9cd7d2a422b0f705deaf9e7876","author":{"email":"f1f8667db13e02d63e57947edf3fdfaa80cd9a11@gmail.com","name":"Young-Ho Cha"},"message":"check ntpserver as empty string instead of null\n\nmServer cannot set null, because string from resource always returns\nnon-null charsequence\n\nChange-Id: I8d6a6fdbc34267ee361e7bd20719887268161870\nSigned-off-by: Young-Ho Cha <ganadist@gmail.com>\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/e44fc4b90460fc9cd7d2a422b0f705deaf9e7876"},{"sha":"dd46f1eb3fdae0a190ed79ed29b1d0c30e5b10ec","author":{"email":"c21d2b0fb0f00753629cf5bfb27bd52cd3b39662@google.com","name":"Andreas Gampe"},"message":"Frameworks/base: Use || instead of |\n\nNothing wrong with | in this case, but || is canonical.\n\nBug: 19797138\nChange-Id: I5f145736a5470f7cde06efce9a217d86eda2135f\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/dd46f1eb3fdae0a190ed79ed29b1d0c30e5b10ec"},{"sha":"0c865d9b3c92d7388440ea1b7e389dedef69d37b","author":{"email":"c21d2b0fb0f00753629cf5bfb27bd52cd3b39662@google.com","name":"Andreas Gampe"},"message":"Frameworks/base: Fix a comparison\n\nChange-Id: I80d62869920e77110c95f20369ec2631c75f6ed4\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/0c865d9b3c92d7388440ea1b7e389dedef69d37b"},{"sha":"3ba2eec71d87b5a00d0fe4e3f500960efeb867cb","author":{"email":"86dfd6ce7845a16ed1545b6cab8c633dbe6e7c64@google.com","name":"Werner Beroux"},"message":"Document Animation.\n\nAdd some cross links and important details when one whishes to cancel an animation.\n\nChange-Id: I8db372c439c995f9360e6aad2e0d560a11c58a2f","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/3ba2eec71d87b5a00d0fe4e3f500960efeb867cb"},{"sha":"85d2173bc7a895dd80a156eae780633ca59c9f02","author":{"email":"dc703bbaf465f2202d8fcabb6ec0c4144cd5927e@sonymobile.com","name":"Mikael Gullstrand"},"message":"Input string disappears when returning from sleep mode.\n\nWhen editing a TextView with an IME in landscape orientation,\nthe text will disappear when returning from sleep mode.\n\nThe InputMethodManager will be deactivated when the screen is\nput into sleep mode as well as the input connection.\nHowever when returning from sleep mode the InputMethodManager\nis activated, but the input connection will not be activated\nagain. The solution is to check focus of the InputMethodManager\nwhich will create a new active input connection to use.\n\nChange-Id: I95d05110bc1cf310fad23ea1bcbc5890f642d1fc\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/85d2173bc7a895dd80a156eae780633ca59c9f02"},{"sha":"7d7e765d664c13b4d5489d65e32c3ea8472fca8c","author":{"email":"c21d2b0fb0f00753629cf5bfb27bd52cd3b39662@google.com","name":"Andreas Gampe"},"message":"Frameworks/base: Fix potential NPE in InputMethod\n\nDon't read the size of an unchecked list.\n\nBug: 19797138\nChange-Id: I9d8c087aff7bc9cc1e8aae9a0b489e23b5442765\nSigned-off-by: Chet Kener <Cl3Kener@gmail.com>","distinct":true,"url":"https://api.github.com/repos/liquid0624/frameworks_base/commits/7d7e765d664c13b4d5489d65e32c3ea8472fca8c"}]}