Merge commit '7b54237c8b662b7c1069e00d8dd6aa7e4d619e87' into donut
* commit '7b54237c8b662b7c1069e00d8dd6aa7e4d619e87':
AI 147755: Add sizes and checksums for 1.5 SDK downloadables.
Merge commit '6f1826cb0cf23e0027817f5a26cf1181f85e1085' into donut
* commit '6f1826cb0cf23e0027817f5a26cf1181f85e1085':
AI 147752: dang, there was another unclosed tag... tested it this time.
Merge commit 'a055e5ea1d87a958cc2c0ea82fe7026b205578b9' into donut
* commit 'a055e5ea1d87a958cc2c0ea82fe7026b205578b9':
AI 147742: close <code> tag and remove some bolding
Merge commit 'b867019173d20cd4fd7ee79a3ce924096e95a241' into donut
* commit 'b867019173d20cd4fd7ee79a3ce924096e95a241':
AI 147725: Some fixes for the CTS test runner. One is a
Merge commit '14533d2652ce786f1ca84af1b54adaa201455989' into donut
* commit '14533d2652ce786f1ca84af1b54adaa201455989':
AI 147720: Set default language for NL to nl.
Merge commit '864750c3ec8cc645e77e99a434dd43a5cd1dca26' into donut
* commit '864750c3ec8cc645e77e99a434dd43a5cd1dca26':
AI 147718: Created .jd doc file for the JetCreator manual. Cleaned up the content to only use HTML tags, no more ugly Word generated tags. Removed references to visio files, converted all assets to PNG and renamed them with human understandable names. Added reference to JetPlayer javadoc.
Merge commit '6edea74a4dc0f2e17d9fb59ef5e175d9cb1a8508' into donut
* commit '6edea74a4dc0f2e17d9fb59ef5e175d9cb1a8508':
AI 147711: Fix link text in highlights doc. Copy "New APIs" section to Version Notes doc.
Merge commit 'd97e8dc252b6f2f5919885ee337518e5fd5bd285' into donut
* commit 'd97e8dc252b6f2f5919885ee337518e5fd5bd285':
AI 147710: Add redirects for sdk/preview pages.
Merge commit '78b1511d96f0b2123bfadf51c5c1ccf33cdd2b3d' into donut
* commit '78b1511d96f0b2123bfadf51c5c1ccf33cdd2b3d':
AI 147541: Add cs as default language for cz.
Merge commit '620986a358c522178ddfc5c0088b2a5e1768e5ae' into donut
* commit '620986a358c522178ddfc5c0088b2a5e1768e5ae':
AI 147438: add app widget docs to dev guide
Merge commit '134e8e4fc391d4f48f89acbfda757cd61504cb46' into donut
* commit '134e8e4fc391d4f48f89acbfda757cd61504cb46':
AI 147433: Fix broken link to sdk/samples dir in the offline.html page.
- made the helper Node and Iterator classes protected inner classes of List so they don't pollute the android namespace.
- use "int foo()" instead of "int foo(void)" which is more C++ stylish
- made distance() a template function, this way we write it once and it will work with combinations of iterator and const_iterator
- added the inline keyword on some function to make it clear to the compiler and the programmer that we want/intend these to be small inline functions
- added templated comparison operators to Iterator so it can compare iterator and const_iterator
- use size_t instead of "unsigned int" at places
- distance() should return a ptrdiff_t (it's kind of mening less here because it won't really work if the distance is < 0)
- made sure we handle conversions from iterator to const_iterator, but but fail at compile time in the other direction
- added operator->() on iterator and const_iterator
- made a bunch of private constructors explicit to avoid unwanted conversions
* changes:
Bug fix(1807910): media recorder crash due to the use of locked camera object (last part) - remove an unused Camera constructor - add a check on the argument in Camera::create() method
* changes:
Add support for changing a threads scheduler group. Three groups are available (default, background non interactive, foreground boost). Setting a thread priority to PRIORITY_BACKGROUND will transparently change groups to background
First, the window manager tells us when a surface is no longer needed. At this point, several things happen:
- the surface is removed from the active/visible list
- it is added to a purgatory list, where it waits for all clients to release their reference
- it destroys all data/state that can be spared
Later, when all clients are done, the remains of the Surface are disposed off: it is removed from the purgatory and destroyed.
In particular its gralloc buffers are destroyed at that point (when we're sure nobody is using them anymore).
Surfaces are now destroyed once all references from the clients are gone, but they go through a partial destruction as soon as the window manager requests it.
This last part is still buggy. see comments in SurfaceFlinger::destroySurface()