summaryrefslogtreecommitdiff
path: root/libs/hwui/TextDropShadowCache.cpp
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2017-03-06 16:16:56 -0800
committer Jean-Michel Trivi <jmtrivi@google.com> 2017-03-06 16:54:58 -0800
commit952f2341abc398d245f3c0a577ebe1b28f93f368 (patch)
tree926aed19cd48e5bca8e60cc9702f95ee1a0918ce /libs/hwui/TextDropShadowCache.cpp
parent272fe5c33866ccc9f590e8fa383f7d96577f8068 (diff)
Audio focus: framework enforces ducking
When an application requests audio focus with AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK automatically duck any active players of the current focus owner, unless: - the player is a SoundPool - the player plays content of type AudioAttributes.CONTENT_TYPE_SPEECH - the focus owner requested focus with an AudioFocusRequest which returns true for willPauseWhenDucked(). - the focus owner and requester share the same UID Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioFocusTest#testAudioFocusRequestGainLossTransient Bug: 30258418 Change-Id: I997905089252be410d58e03b350b6aa8a0d98e61
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
0 files changed, 0 insertions, 0 deletions