bootanimation cached all the textures generated until the animation was completed. For Hi-res animations with lots of frames (like the new CM9 anim on xhdpi devices), this implied using large amounts of video RAM, more than most devices actually have available, causing the animation to stall (and in some cases, gralloc to lock up); so if an animation is expected to use a lot of RAM (rough estimation based on frame size and number of frames), disable cache entirely and generate the textures on demand Change-Id: I157e5cdde2aab1d82d980d77cbedd9f127c83a1d
Added a spacer if uneven number of toggles.
Implements the framework portion of an optional "Pulse low battery light" switch, which allows the pulsing low battery LED to be disabled. The function and implementation of this switch is analogous to (and borrowed from) the "Pulse notification light" switch. This is motivated by devices (e.g., epicmtd) featuring a battery charging LED, where the LED does not support pulsing in hardware and relies on a kernel (CPU) timer to implement the pulse capability. On these devices, pulsing the LED requires waking the CPU from suspend on every LED on/off event, substantially reducing the proportion of time the CPU can suspend, and thus, substantially increasing power consumption. Therefore, when the these devices reach the low battery threshold, their power consumption, ironically, increases measurably in order to pulse the battery charging LED, which lowers battery life and increases the likelihood of a low-battery shutdown if the user cannot charge the device in a timely fashion. This switch allows the user to disable the pulsing low battery LED in order to maximize their low battery charge. Change-Id: I3a5c8938fd7c444c90b2af123e683982c614cd6e
Thanks to AOKP
by Robin Morawetz (Rdlgrmpf) and Davor Bertovic (LorD ClockaN)
This property is to be used to set action to perform radio file system force sync on certain msm platforms. CRs-Fixed: 337095 (cherry picked from commit 3548c1002c1f720695ebda6070dca85e98e46e00) Change-Id: I408a3a88b21a21fb535b2fee6350c66913b4ceee
We can assume that if the user turned the screen off while there was still an active notification then they wanted to keep the notification for later. In this case we shouldn't flash the notification light. The problem for some special notifications (such as missed calls) is that the screen is automatically turned on, and then when it is turned back off the led does not get enabled. For these notifications we use a flag to force the notification light even if the screen was turned off.
Scrolling cache helps make short scrolls/flings smooth but will cause stutter when long flings are made. This patch disables scrolling cache when long flings are made. This patch also fixes a related bug where scrolling cache will not be enabled properly when transitioning from flinging to scrolling. Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park) Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Copied relevant parts from CdmaConnection.java to get the information as/if presented by network operator (Fido/Rogers in canada provide that information, and it get displayed if there's no match in phonebook). Change-Id: I95d90c96324502c217da84be2c5c3cd46c1c0c0f
Fix issue of mobile data type being shown when connected to wifi.
This allows to enable autoHiding of CombinedBar like on ICS phones. Added CombinedBar Auto Hide (3/2) (FIX) This fix shows the bar again when touching screen, as it does on GN. PatchSet 2 fixes crash on some fullscreen apps. Change-Id: I8fbbbddd551ee2c053efe1cd6e0666f932200e93 Framework : Add annotations for CombinedBar
On ICS tablets, by default the lockscreen will rotate irrespective of the auto-rotate switch. Go back to Honeycomb-like behavior of the switch controlling the lockscreen. Change-Id: I697fe588c6a7d20e03e0f8ff5927834f8819c871
… external storage Fixes issues with some apps on Xoom
Most mkv files having 'lacing' in their audio section to save space. Android did not handle this properly, sending all frames in the block with the same time code, which causes stuttery playback. Change-Id: I4dc76e7c2a53126c7fbdd3628fe7d339d2e3364e
This patch allows media files present in a folder with a .nomedia file to be hidden after these files have been previously indexed. Bug: http://code.google.com/p/android/issues/detail?id=24162 Change-Id: Ia42133d0a7b119c76b5eaaffabd054aa1a739817 Signed-off-by: David Sobreira Marques <email@example.com>
…pgrowthlimit. Increase Zygote preload GC threshold to half the heapgrowthlimit, to reduce boot up time. Change-Id: I6ea0f115e5f96836adec5ba9b796f54e6e898643
Needed on (at least) crespo, aries and galaxys2 Change-Id: Iaff5379775b9a19bd3cd8598e885e885cc0e8492