summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2021-11-19 16:18:52 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2021-12-07 08:21:06 -0800
commit933bf14319d68d52e646130b5ca31afeb1091f70 (patch)
tree1f38e5a0d44d487a5b3a7916ae71af9c42f7a2a9 /core/java/android/inputmethodservice/InputMethodService.java
parent8d86d7dd92675778b332b263a40ac7c35e9afdbd (diff)
AudioManager: add API for muting playback until device connects
Introduce API to implement the feature where playback is muted until a specific device connects. The muting call is accompanied by a timeout after which muted players are unmuted. Implementation: - AudioManager: API, management of events sent by AudioService - AudioService: tracks presence/absence of audio device that drives the muting, permission check - PlaybackActivityMonitor: mutes/unmutes existing players, mutes new players when created, keeps track of timeout. Bug: 200218901 Test: atest com.google.android.gts.audioservice.AudioServiceHostTest#testMuteAwaitConnection Change-Id: I014c542e5b74402a41081326a53ec9d7552db021
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions