summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFrancois Gaffie <francois.gaffie@renault.com>2020-04-14 14:14:02 +0200
committerEric Laurent <elaurent@google.com>2020-04-21 16:29:23 +0000
commit9704e1275af5840e38d61283955f09bc6879ca80 (patch)
treebb4e98b5c05b8c07762c1e4de8ade98f0c2126cc /tools/aapt2/java/JavaClassGenerator.cpp
parent094eafd471f0963a2e5341e4a5162928c3b18332 (diff)
AudioService: Focus: cleanup FocusOwner upon requestAudioFocus failure
When the focus is owned by an external audio policy, and when a client's request fails, the FocusRequester dedicated Map is not cleared. As the client app may not call AudioManager#abandonAudioFocus (since the requestAudioFocus failed), it leads to not only dumpsys side effects but also it triggers upon client's focus binder died event, the call of notifyExtFocusPolicyFocusAbandon_syncAf. This CL fixes this issue by removing the FocusRequester when the request fails, the same way it is already done on permanent loss of focus. Test: build & boot Signed-off-by: Francois Gaffie <francois.gaffie@renault.com> Change-Id: I4d1b216b606c8f73c9b68353723284d9e178297d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions