summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGeorge Lu <georgelu@google.com>2019-03-13 17:11:21 -0700
committerGeorge Lu <georgelu@google.com>2019-03-22 21:15:10 +0000
commit5af72432bb58d3d935cab7677e03197eb1e930c5 (patch)
tree706f2f547c4300acb43d0582a22b0532588718fa /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdece92b28744012f6db87f5100b511cd459218a1 (diff)
Revise BroadcastRadioService handling of V2 HALs
Previously, BroadcastRadioService checked for HALs (both V1 and V2) exactly once, the first time listModules() was called. This approach failed to handle HALs that registered after boot or that died and restarted. This change addresses both issues by registering a listener that is invoked when V2 HALs are registered. Additionally, the check for V1 HALs now occurs at construction time. Bug: 121006324 Bug: 126887436 Test: Verified on device BroadcastRadioService handles V1 HALs properly and picks up V2 HALs dynamically Change-Id: Id9df7f53d189801f0a0dc894b2bb425d655edbd6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions