When an AudioPolicy with an AudioPolicyFocusListener gets registered,
notify it automatically of the current focus owner, i.e. the
top of the stack, if there is one.
Bug 19194917
Change-Id: I66fa141ce9550349d107288fc36ddab50898dc45
Yo Dawg, I herd you like notifications, so I put a
notification in your notification so you can be
interrupted while you are being interrupted.
Bug: 15869874
Bug: 15188947
Change-Id: I6c733d6f8e8a04f85036182f82d3e945c6feb5bc
We were doing the work for persisting settings on a background
priority thread and as a result persistence was not happening
correctly on a low end devices. Now we use a worker thread with
normal priority.
bug:19611897
Change-Id: I378c6e324935f5e3def8b986bd48486bfab55265
* commit '83b96e02a4bc8b0e9f5308b441609411ee347baf':
docs: Remove deprecated Fitness information from this doc. Guides have been moved to developers.google.com/fit
* commit 'd9eb3881f452ecb4b77062eb6505a3d7601d0a8c':
docs: Remove deprecated Fitness information from this doc. Guides have been moved to developers.google.com/fit
* commit '0c89bdb7a7eb491c503c369c0f1d9e523c8ae34a':
docs: Remove deprecated Fitness information from this doc. Guides have been moved to developers.google.com/fit
* commit '0d756f7d5646f84753a3db5f702f4ac79bda22bf':
docs: Remove deprecated Fitness information from this doc. Guides have been moved to developers.google.com/fit
* commit '217a435665880076abb71085e9d76aec4ff83b6d':
docs: Remove deprecated Fitness information from this doc. Guides have been moved to developers.google.com/fit
setSELinuxEnforce is not allowed by policy.
get/setBooleanValue and getBooleanNames are moot since SELinux
policy booleans are forbidden by CTS.
Change-Id: I512953edd1c38828efce698ae8475603775c32e8
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* commit 'a8bdd2f341ded0f2096e2750d176873e3e9e89c7':
docs: Remove deprecated Fitness information from this doc. Guides have been moved to developers.google.com/fit
* commit '42bb44dbf5bffc5d3fcf89eacfd5c561dbe8095c':
docs: Remove deprecated Fitness information from this doc. Guides have been moved to developers.google.com/fit
We want to move text measurement into native code, mostly so that
alternate measurement for hyphens can be performant. This patch begins
that migration, in the main StaticLayout case, but still surfaces the
widths array to Java (for ellipsis calculation), and also includes a
hack (used mostly for testing) for computing widths in Java and sending
them down to native code when TextPaint is subclassed.
Change-Id: I476c9e8b3aa8e4e3552eb18f66c4bcd5683f3a72
Disallows volume adjustments (lower) from vibrate to silent
until a small period of time after an adjustment from normal
to vibrate.
This provides for enough time for the user to see the state change
to vibrate and feel the associated haptic feedback before yet
another state change to silent.
Bug: 19260237
Change-Id: I5843a1c144d56146a83db194f352832c8d85159d
- Set a floor of 1 for voice call + bluetooth sco, otherwise 0.
- All api calls validated to ensure a floor of the min level.
- Volume UI updated to shift the seekbar by the min value.
- Remove duplicate static max method in AudioService.
- Ensure streams with a min level > 0 are not considered muteable.
Bug: 19260237
Change-Id: I213180c9c277f51bd3897b7f777e5f88ed1db125