Merge commit '40f92fe967f36d524d173b7819dc875af2cd9971'
* commit '40f92fe967f36d524d173b7819dc875af2cd9971':
When using MDP, we needed to use a texture for diming.
Merge commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2'
* commit 'e4df64bdaaf86fb7d06715de122a97d723d7fea2':
Force a crash under conditions where white square bug in all apps is likely to occur.
Merge commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0'
* commit '9f96a37aabbffffe719c1dfb73b5c437f190bcf0':
Fix ref counting bug that could cause memory leak in allApps.
Binary XML file line #37: Error inflating class <unknown> after adding a secondary account
Now that I have these debug logs, I want to keep them since they will make
debugging these kinds of issues a lot easier in the future. (Note in this
case there was no problem in the framework.)
Change-Id: If2b0bbeda4706b7c5dc1ba4a5db04b74f40e1543
This is a second attempt to fix the audio routed to earpiece syndrom.
The root cause identified this time is the crash of an application having an active AudioTrack playing on the VOICE_CALL stream type.
When this happens, the AudioTrack destructor is not called and the audio policy manager is not notified of the track stop.
Results a situation where the VOICE_CALL stream is considered as always in use by audio policy manager which makes that audio is routed to earpiece.
The fix consists in moving the track start/stop/close notification to audio policiy manager from AudioTrack to AudioFlinger Track objet.
The net result is that in the case of a client application crash, the AudioFlinger TrackHandle object (which implements the remote side of the IAudioTrack binder interface) destructor is called which in turn destroys the Track object and we can notify the audio policy manager of the track stop and removal.
The same modification is made for AudioRecord although no bug related to record has been reported yet.
Also fixed a potential problem if record stop is called while the record thread is exiting.
Merge commit '9aaf01b9d03e931c9d37858562ea47dbaf44a3be'
* commit '9aaf01b9d03e931c9d37858562ea47dbaf44a3be':
backout a workaround that is not needed anymore
Merge commit 'ce18c9680e3c151dcd4df5cdaa9fa352ad134691'
* commit 'ce18c9680e3c151dcd4df5cdaa9fa352ad134691':
fix [2269022] The raw picture displayed post shutter seems to have low-resolution
Merge commit '234e509a67eb32606f3051d21eb3ea25b272d80d'
* commit '234e509a67eb32606f3051d21eb3ea25b272d80d':
Add setPriority to allow wallpapers to run at lower cpu priority than default.
since we're using the GPU for composition, don't use a texture for dimming,
instead simply use an alpha-blended quad.
also workaround what looks like a GL driver bug by calling glFinish() before
glReadPixels().
2206097: Broken suggestions while composing message
2166583: Color artifacts with MDP dithering
2261119: Passion transition animations are rough
2216759: Screen flicker when dropdown list in background window shows or hides
This is part of enabling GPU composition instead of using the MDP. This change
is dependent on another change in the vendor project.
Specifically this change disables the use of EGLImageKHR for s/w buffers
for cache coherency reasons. memcpy is used instead.
Merge commit '70a37eac62e887d16c4964b805a612d41254ca7f'
* commit '70a37eac62e887d16c4964b805a612d41254ca7f':
fix some aspects of [2258746] native crash in launcher2
Surface::validate() could sometimes dereference a null pointer before checking it wasn't null.
This will prevent the application to crash when given bad parameters or used incorrectly.
However, the bug above probably has another cause.
Merge commit '99e03a3f94ff8bbd68599e7f43517dbc25421fe9'
* commit '99e03a3f94ff8bbd68599e7f43517dbc25421fe9':
Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
Merge commit 'bd328d0113ae29bd351d39faedc6c4e7957db4ad'
* commit 'bd328d0113ae29bd351d39faedc6c4e7957db4ad':
Modify the binder to request 1M - 2 pages instead of 1M. The backing store
Merge commit 'adf38939836ee1d1f5967fc45d02e07117f44009'
* commit 'adf38939836ee1d1f5967fc45d02e07117f44009':
Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
* changes:
Modify the binder to request 1M - 2 pages instead of 1M. The backing store in the kernel requires a guard page, so 1M allocations fragment memory very badly. Subtracting a couple of pages so that they fit in a power of two allows the kernel to make more efficient use of its virtual address space.
in the kernel requires a guard page, so 1M allocations fragment memory very
badly. Subtracting a couple of pages so that they fit in a power of
two allows the kernel to make more efficient use of its virtual address space.
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Merge commit '440110fbfe00fa8f16087b33f0f3057e0ca057a9'
* commit '440110fbfe00fa8f16087b33f0f3057e0ca057a9':
Revert change incorrectly submitted as part of change #32153.
Merge commit '2c694f032c1bea7003098336b32861e7b97aa9c7'
* commit '2c694f032c1bea7003098336b32861e7b97aa9c7':
fix [2143798] Need to figure out how to do video on Passion w/ GPU