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
This change improves upon the notification priority API
introduced in change I9e738cc4, allowing privileged clients
to set the priority of a notification when posting it
directly to INotificationManager. StatusBarTest is updated
to test this new feature.
The new LocationController in SystemUI uses this facility to
post a high-priority ongoing notification whenever GPS is in
use (replacing the functionality of the legacy GPS status
bar icon).
Also happens to fix http://b/3325472 (adding a log message
when notifications are dropped because of a missing icon).
Bug: 3412807
Change-Id: I523016ffa53bf979be98ddc4a2deb55a6270c68a
VolumePreference should take the stream mute state into account
when updating the progress bar if a change is received by
the content observer
Change-Id: Ia1a8af9d4cc349d2d57753d865e8d2e58daf04f1