Commit 25101b0b in AudioSystem for issue 3395734 broke the mechanism
in AudioService to poll and detect the restarting of media server
process after a crash.
The fix consists in changing the method used to poll AudioSystem and
trigger a callback indicating success when media server is responding
(the method must be on IAudioFlinger and not IAudioService to trigger the callback).
Change-Id: I843c0194de9cbf82c779cabbf2f3cbf8064603c8
- Removed sentence implying that free aplications can get a LICENSED response. (Free apps aren't supported by the licensing service.)
- Added note indicating that draft apps always return LICENSED.
- Added note reminding users that test responses can be set for certain users.
Change-Id: Iab515c43ab3372d743d138b7eeba9a888191627b
Bug #3409580
This bug affects anything that draws a 9patch inside a layer, this includes
launcher's workspace, all of the fade animations, etc.
Change-Id: Icbe8ecd158e3d5f44d07516462de68c5d1fb0a8f
A recent change to optimize path rendering didn't account for
the destruction of native objects by the VM finalizer. We may be
done with the Java level version before we're done with the native
structure that's used by the display list. For example, a drawing
method on a View that creates a temporary path to render into the
canvas will implicitly create a native structure that is put onto
the GL display list. That temporary path may go away, but the native
version should stick around as long as the display list does.
The fix is to refcount the original native version of the path
and only delete it when the refcoutn reaches zero (which means that
it is no longer needed by any display list). This is a similar mechanism
used for bitmaps and shaders.
Change-Id: I4de1047415066d425d1c689aa60827f97729b470
- Make sure that STREAM_MUSIC is affected by ringer mode on non voice capable
devices whatever the saved settings say.
- Added a hidden method to AudioManager for VolumePanel to override
the stream selection logic while the panel is showing.
Change-Id: Ib2ff2a7af63decb4e29c45700c41e5058f79d877
Reapply change 17f886563c7c2cbd28c3aeaf8b68d37c8e5105c0 to fix
the issue where the "audible selection" sound effect is not heard
Change-Id: Id87a01379306a400546d15f96ad08160115c8878
docs: Rewrite of App Fundamentals.. Part 3
This introduces two new docs:
Application Fundamentals:
This is the homepage for the app fundamentals; it introduces
the security sandbox, each of the component types, intents,
the manifest file, and app resources.
Processes and Threads:
Most of this document is from the original fundamentals.jd doc;
it describes more about how an app's process runs on android
and the different levels of process importance used to determine
which processes the system can kill and how threads are and
should be used in an application. I've added more detailed information
about threads, however, including information about using AsyncTask.
These documents are orphaned for now. This is the last set of documents
required before I'll change the side navigation to adopt the new
app fundamentals and redirect the old fundamentals.jd file.
Change-Id: Ica5f7f683df76b488552939ee0888e796204f2c1