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
- The ImageWallpaper wasn't watching for the desired dimensions to
change, at which point it needs to resize its surface.
- The system process has been running with the small dalvik heap
limit, which is too tight with these huge wallpapers; this would
cause switching wallpapers to eventually stop working as it
couldn't get the memory it needed to load the new one.
- The compatibility mode background surface had a bunch of issues,
such as moving its windows to the right by the window size to
make them disappear. This of course doesn't play well with the
now super-sized wallpaper surface. This code is re-worked to
not require such shenanigans.
Change-Id: I64fde4059645d8507f1c4761ba6c17b89877a5c0
Bug: 3395734
Volume panel that can be expanded and can be used
to control different streams' volume and toggle
silent mode.
Shows the active stream's slider on top and the
remaining below. Touching outside dismisses the
dialog as well as a 3 second timeout.
Dialog fades out after timeout.
Change-Id: Ief258cc904bfd3d62f1291adba4a9cf442bcb006
when an app dies, make sure to disable all sensors that process
is connected to, regardless of wether this was the LAST connection
to this sensor.
Change-Id: I9c72b1792eee03815304674d5c2f25b5270e4748