summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorNick Moukhine <oni@google.com>2020-12-22 16:26:51 +0100
committerNick Moukhine <oni@google.com>2021-01-08 11:12:38 +0100
commit5b7c195b0d4c18981f1d2c49bf12200cdc0240d6 (patch)
tree4d97e921b3cad762817693f04da3dceec4360439 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta0334be887757324e671e09e4563034704c66fb0 (diff)
Follow-up fixes to MusicRecognitionManagerService
Added a check to only allow the default MusicRecognitionService to be called, unless the caller is the same app that hosts the MusicRecognitionService, as is the case in tests. Refactored MusicRecognitionManagerPerUserService to not hold the client's callback as a field to prevent leaks and needing to null it out (then requiring null checks). Instead, it's always a local variable or a final field in ephemeral objects. Bug: 174744852 Bug: 168696277 Test: atest CtsMusicRecognitionTestCases Change-Id: I70ff3c38da7096c60f82fe75b47674b4b233e672
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions