summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorwumin3 <wumin3@xiaomi.com>2020-04-09 15:47:01 +0800
committerwumin3 <wumin3@xiaomi.com>2020-04-09 15:47:01 +0800
commit7d5a0048ceb709f355071f30dc833fce6f702d03 (patch)
tree98f8c1130cb5dd5d2a62bb82235eba455ba8322f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent06ad45a59677d48f7f1dce850b5709b64985a43f (diff)
AudioService: fix audio mode not reset to MODE_NORMAL
when a app call setMode to set mode to non MODE_NORMAL modes many times with different audio managers in the same process, in this case the "pid" parameters are the same and the "cb" parameters are not the same, then the parameter "cb" registered and the "mCb" in hdlr are not the same, then NoSuchElementException will happen, and when the app was cleared in recent tasks the audio mode will not be reseted to MODE_NORMAL by expected flow. Signed-off-by: wumin3 <wumin3@xiaomi.com> Change-Id: Ifb8c66372a8e994edcea628cad7dc2a7ee4763a6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions