{"push_id":683274167,"size":75,"distinct_size":75,"ref":"refs/heads/lp5.1","head":"1c3611103bbbd929b00a81dcc0bfccfbe164c177","before":"ea3ae70d1e6fe274acd0fea0f996320cdc6dc6a5","commits":[{"sha":"9591a6a11ff3928bd7941d044b0bb78986d75cd7","author":{"email":"4f86877e9c4b0988ce62b31b0c7c8e5bbc248eca@htc.com","name":"tiger_huang"},"message":"Prevent leaking surfaces from exiting windows\n\nAM would set the exiting app to be invisible twice by calling\nsetAppVisibility(). If the screen is turned off during these calls,\nthe window surfaces of this exiting app won't be destroyed.\n\nThe flow:\n 1. Screen is on\n 2. App A is finished\n 3. AM calls setAppVisibility() token=App A, visible=false\n 4. WM sets a dummy animation to App A\n 5. WM marks App A's wtoken.inPendingTransaction=true\n 6. Screen is turned off\n 7. AM calls setAppVisibility() token=App A, visible=false\n 8. WM calls setTokenVisibilityLocked() directly (screen is off)\n 9. WM sends app visibility to App A's client (ViewRootImpl)\n10. WM clears the dummy animation from App A\n11. App A's client calls WMS.relayoutWindow() to be not visible\n12. WM sets App A's window mExiting=true but not destroy its surface\n13. App A's window surface leaks...\n\nNote:\na. The call in 3. is from ActivityStack.finishActivityLocked\nb. The call in 7. is from ActivityStack.resumeTopActivityInnerLocked\nc. In 10., App A won't get the real animation while screen is off\nd. In 12., App A's inPendingTransaction=true; WM takes it's animating\ne. mExiting won't be cleared because App A has no animation to\n   trigger WindowStateAnimator.finishExit()\n\nAfter applying this patch, WM would destroy the surface in 12. of the\nabove flow.\n\nChange-Id: I18b79ba96695ec80d57a85dc15cf92a9e7d3a6ef","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/9591a6a11ff3928bd7941d044b0bb78986d75cd7"},{"sha":"3ec4915e55a4e0f916bc135dad89d39fee6920b3","author":{"email":"e4b32643abc22f0015f12596bd9b0c46cec422aa@google.com","name":"Greg Hackmann"},"message":"Find wall clock RTC through sysfs\n\nDevices may have multiple RTCs.  By default the kernel uses rtc0 to\nstore the system time, but devices may override this (or even specify\nthat none of them should be used for system time).\n\nUserspace can indirectly find the designated RTC through sysfs.  During\nAlarmManagerService initialization, enumerate through all rtc class\ndevices to locate the device with attribute hctosys=1.\n\nThis is only done on devices without /dev/alarm, which has its own\nin-kernel mechanism to pick the RTC.\n\nChange-Id: Ife2b342c3590133ed316ddaf1799cbc1bfa6e6d9\nSigned-off-by: Greg Hackmann <ghackmann@google.com>","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/3ec4915e55a4e0f916bc135dad89d39fee6920b3"},{"sha":"3d802efb027af146b85cb70338258375657c8d5f","author":{"email":"ff596853b96456d9c729548709b2a0d18fbaa7a4@gmail.com","name":"Daniel Koman"},"message":"SystemUI: IME key shouldn't cause navbar icons to re-align\n\nThis sets the right-side menu icon's visibility to GONE rather\n        than INVISIBLE if the IME button is showing, so that\n        the navbar icons don't get pushed over.\n\nChange-Id: I646542f9dc25a672d1413035aa7831de05bdf030","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/3d802efb027af146b85cb70338258375657c8d5f"},{"sha":"fa03893644ac1c144571c65e71c6b480b0a0f429","author":{"email":"4de0feaf95fd2060b37b225d0f02a97316e29292@gmail.com","name":"Jean-Pierre Rasquin"},"message":"Navbar: fix show menu never not working\n\nChange-Id: Ia56f9b2c04f4c9d33b4bbe0817b20f05cf36f601","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/fa03893644ac1c144571c65e71c6b480b0a0f429"},{"sha":"b39faf2e948c7bce45a085e0f6ad09bd7cd85116","author":{"email":"9ce5770b3bb4b2a1d59be2d97e34379cd192299f@cyngn.com","name":"Steve Kondik"},"message":"power: Disable keyboard/button lights while dozing/dreaming\n\n * With hardkeys and doze mode enabled, entering suspend results in\n   an epic battle over the lights. It's a bad situation. Disable\n   them when we're sleepy.\n\nChange-Id: I7f1fc35a1573717d1ea101a07c4171d6f66d1553","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/b39faf2e948c7bce45a085e0f6ad09bd7cd85116"},{"sha":"570371e578f2825d05c8c74336c1f5fad3eb3193","author":{"email":"2e56888aae982b9d53ada9157113f5e6961e8b7e@google.com","name":"Craig Mautner"},"message":"Add a timeout state to frozen windows\n\nWhen an activity stops drawing following a rotation the rotation\nscreenshot would become stuck on top of all the other windows. The\ntimeout was being acknowledged but mWindowsFreezingScreen was set to\ntrue which kept stopFreezingDisplayLocked() from dismissing the\nscreen rotation animation.\n\nBy changing mWindowsFreezingScreen from a two state variable to a\nthree state variable, including a timeout state we allow\nstopFreezingDisplayLocked() to continue and dismiss the screen\nrotation animtion.\n\nThis change also reduces the APP_FREEZING_TIMOEOUT from 5 seconds to\n2 seconds.\n\nBug: 15664090\n\nChange-Id: Ida5aca002a82ec8fe1ea99f0ced814c5c8f01a95","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/570371e578f2825d05c8c74336c1f5fad3eb3193"},{"sha":"9d17caa5815e86a7527f8d4a6d253aecc8a8a48a","author":{"email":"4f86877e9c4b0988ce62b31b0c7c8e5bbc248eca@htc.com","name":"tiger_huang"},"message":"Prevent unexpected rotation while going back to keyguard\n\nThe original logic would let the app hidden by keyguard be able to\ndecide the orientation. While going back from a show-when-locked app\nto keyguard, there would be a short time that keyguard is unable to\ndecide the orientation, which causes WMS uses the wrong orientation\nfrom the wrong app.\n\nhttps://code.google.com/p/android/issues/detail?id=155640\n\nChange-Id: Ibc17bfe4603f68b241dc7380459ec9de42a3e259","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/9d17caa5815e86a7527f8d4a6d253aecc8a8a48a"},{"sha":"87d86bc5aabaa04a2b475e1586bf14901bdf78f9","author":{"email":"7fb1af48ad3f9a487e1291e1f9cb0d9f90b4f222@htc.com","name":"louis_chang"},"message":"[ActivityManager] Avoid NullPointerException if no\ncrash info\n\nSymptom:\nThis issue happens because the ANR process got killed\n(because it crashed) before the ANR dialog dismissed.\nIn that case, the process record is marked as crashed\n(ProcessRecord.crashing = true). When the ANR dialog\ndismissed by user, it will cause NullPointerException\nwhen writeToParcel while performing IPC because there\nis no crash info (ApplicationErrorReport.crashInfo = null)\n\nSolution:\nCheck crashinfo before access it\n\nChange-Id: I2995de57684c1e13aab8297f5eea1e82ca3b7ad8","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/87d86bc5aabaa04a2b475e1586bf14901bdf78f9"},{"sha":"e709725e6ac6d7443839f12312a40f26cee79fe7","author":{"email":"4621454b95aca64b79ee0e520a128b5053fcad4c@codeaurora.org","name":"Maunik Shah"},"message":"Fix memory leak in Connectivity Service when phone app crashes\n\nUpon crash of com.android.phone process, NetworkFactoryInfo is\nnot getting removed from HashMap and will get accumulated on\nevery start of the process.\n\nChange-Id: Iafde28daddfc82728c03208522682b1efc85a121","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/e709725e6ac6d7443839f12312a40f26cee79fe7"},{"sha":"fac24a1273f24ab5b99ccd0461df0706997387c8","author":{"email":"14b239df8f7217a8112b9da0b89be97c0169c978@codeaurora.org","name":"Xiaogang Cui"},"message":"restrict updateExternalMediaStatus to non-emulated storage\n\nThe applications in emulated storage will be scaned by packageManager\nService. Only updateExternalMediaStatus for non-emulated storage to\navoid deadlock between MountService and PackageManager\n\nChange-Id: I53c8d269c478256abb8e397c0c2b3271e29e2ec7\nCRs-Fixed: 814188","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/fac24a1273f24ab5b99ccd0461df0706997387c8"},{"sha":"d42436072e751b7c852ef60faf1b86740cd584ee","author":{"email":"c99509495b0ae538e72da0d0e92cd7afd4da25f1@codeaurora.org","name":"Zhou Song"},"message":"Avoid duplicated calling to isRestricted to improve performance\n\nisRestricted() is called every time in Play and setVolume API.\nThen it introduces some latency here, the perfromance can be bad\nespecially when the APIs called multiple times.\n\nInitialize the permission check result in constructor to avoid\ncalling to isRestricted.\n\nCRs-Fixed: 812386\n\nChange-Id: I1ce81d1723a6b29adf4117ac0ccb7a98850ef2dd","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/d42436072e751b7c852ef60faf1b86740cd584ee"},{"sha":"32f0ffc6d8aab361dbe00c85f57a9b4ab0f1421d","author":{"email":"bd057846e13180b5200a8c2dbd8b3753d52a2a51@codeaurora.org","name":"Tao Zhang"},"message":"Fix an apk icon animation corruption issue\n\nWhen several apk icons group together to a folder, the icons\nscale down to small icons first. Dirty region computation only\nrespects the transformed small icons region. However, since the\nswap behavior is PERSERVED, the contents of larger icon region\nin previous frames are kept in the current frame, this region is\nnot covered by the dirty region, thus contents of previous frame\npresents and it is corrupted. The fix is to include the in rectangle\nto enlarge the dirty region\n\nChange-Id: I546da255cf18b3c948e8491f3a513762d7dd4fea","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/32f0ffc6d8aab361dbe00c85f57a9b4ab0f1421d"},{"sha":"a2d1bb7fc75068c3c755ed33c9bdbbd26b79b732","author":{"email":"df998b8460d4c9eb15709f873a509aeff63f1553@codeaurora.org","name":"Sandeep Kunta"},"message":"Optimize IncallUI delay for voice calls\n\nIn current implementation detectCountry method is called from telephony\nas many times as 34 for one MO voice call, causing increasing delay to appear\nincallui for user.  This fix ensures that there is only one call to\ndetectCountry method per one voice call thus optimizing delay.\n\nCRs-Fixed: 803069\nChange-Id: Ia6e832476c7f7be2750f1c2d9a4c83f728c2131e","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/a2d1bb7fc75068c3c755ed33c9bdbbd26b79b732"},{"sha":"0b8ceb2bd850f978185687cb1748af1f748b66e3","author":{"email":"36885f738c1d3fda4d1d97426020e9d76529fd73@codeaurora.org","name":"Paramananda"},"message":"frameworks : Extends mimetype list hence apps can view the media files.\n\n- MimeType of media formats (BMP, WAV, 3g2, m4a, mp3d) added in\n  MediaFile, so the Gallery and Music application can view these\n  media formats.\n\nCRs-Fixed: 804185\n\nChange-Id: Ibc43b9652e2886bba7838b0cab703c2474b21d6c","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/0b8ceb2bd850f978185687cb1748af1f748b66e3"},{"sha":"775db95d9383610a07a8865097c6dca6f0cc23f8","author":{"email":"a5db94d664692b7c78a02e8ea07fa6b3486489cc@codeaurora.org","name":"kaiyiz"},"message":"media:Modify the display of system default ringtone when it is none.\n\nAfter we set the sound of calender use the default ringtone , if the\nsystem default ringtone is none, the sound of calender will show\nunknown ringtone.\n\nMake sound of calender not show unknown ringtone when the system\ndefault ringtone is none.\n\nCRs-fixed: 812323\nChange-Id: Idbc488748a81b88bb7a0df49e25d6a8cf6ba3826","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/775db95d9383610a07a8865097c6dca6f0cc23f8"},{"sha":"dd95df1b1cbf4f1d13e4f74163f533d8821bf4f0","author":{"email":"4621454b95aca64b79ee0e520a128b5053fcad4c@codeaurora.org","name":"Maunik Shah"},"message":"Screenshots info is not updated when device is plugged in MTP mode\n\nWhen device is connected as MTP mode and user opens folder\n/sdcard/Pictures/Screenshots/ in windows system and captures new\nscreenshot, image information is always shown as 0 KB\n\nIssue: https://code.google.com/p/android/issues/detail?id=56204\n\nChange-Id: I46f3d72d275e164e40e305a3b5aafe685e6905f2","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/dd95df1b1cbf4f1d13e4f74163f533d8821bf4f0"},{"sha":"67636710a8b43bee516fea2cd4845a50c81f2127","author":{"email":"90b51f8a5079017e81711ae9317c35b0575b34e1@gmail.com","name":"Christopher R. Palmer"},"message":"base: nat464X: Only update ipv4 pseudo-interface when it's connected\n\nOn some devices, the network link state may go up even though there\nisn't going to be an active attempt to connect to the network\ndue to other networks taking precedence.\n\nCurrently, when this happens the network link is forced to attempt to\nconnect due to notification sent to the ConnectivityService.\n\nRather, let's wait until there is definitely an IP address and then\nnotify it at that time.\n\nThis solves a bad battery drain that occurs sometimes on victara\nwhen connected to WiFi due to the mobile data network going through\nconstant connect/disconnect cycles.\n\nChange-Id: Iee390f948109b3412ec86d1b3c5fbc53a4859b7b","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/67636710a8b43bee516fea2cd4845a50c81f2127"},{"sha":"8ca491ef7cd23040331f508d563a6b39048f56b2","author":{"email":"c6833d607636f16ca49565dfcb7c970394ab64f3@codeaurora.org","name":"Rama Vaddula"},"message":"Remove opaque check in preparing dirty region\n\nSince preserve swap is enabled, we need to clear the color buffer\nwhen the scissor rect is prepared for a new process. This prevents\ngarbage being present from the previous process in the color buffer.\n\nCRs-Fixed: 549755\n\nConflicts:\n\tlibs/hwui/OpenGLRenderer.cpp\n\nChange-Id: Icd12ae388077b8c9ed329c37314e896500078543","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/8ca491ef7cd23040331f508d563a6b39048f56b2"},{"sha":"26ff35f766575953c41515ea598653a5c863fcc8","author":{"email":"c38e4b3fa2f1fadd59241462040d350f3b397a68@lge.com","name":"Sangkyu Lee"},"message":"Fix ANR caused by hwuiTask thread\n\nIf hwuiTask thread is exited while HWUI renders something,\nsome tasks can remain unfinished forever.\nThis can make ANR problem if RenderThread waits this kind of tasks.\n\nAccording to the current implementation, hwuiTask threads are\nexited when HWUI receives trimMemory() callback with level >= 20\nand some applications such as SystemUI can receive trimMemory()\nwith level >= 20 even though they renders something yet.\n(For instance, when RecentsActivity in SystemUI is finished,\nHWUI receives trimMemory() callback with level >= 20\nbut SystemUI should still render the status bar and navigation bar.)\n\nThis patch prevents the tasks from remaining unfinished and\nmake the tasks executed immediately if they cannot be added\nto their TaskProcessors.\n\nChange-Id: I5bd26439aa5f183b1a7c1ce466362e27554b4d16","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/26ff35f766575953c41515ea598653a5c863fcc8"},{"sha":"ed6fc9f7279d03d36189ff08861f498b43c94758","author":{"email":"0363de98439ff22157633d0b0c13ae8bbe3d448c@linaro.org","name":"Bernhard Rosenkränzer"},"message":"Use fabsf() rather than abs()\n\nabs() operates on integers -- to check floats accurately, fabsf\nshould be used.\n\nChange-Id: I1a4e85f8f5e0d08ff38d307c5c31e2b6783ab7af\nSigned-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>","distinct":true,"url":"https://api.github.com/repos/SlimLPXperia/frameworks_base/commits/ed6fc9f7279d03d36189ff08861f498b43c94758"}]}