diff options
author | Muhammad Qureshi <muhammadq@google.com> | 2021-03-22 20:26:55 -0700 |
---|---|---|
committer | Muhammad Qureshi <muhammadq@google.com> | 2021-03-30 00:54:52 -0700 |
commit | fe76a525160526313243e6d09756153ff677010d (patch) | |
tree | 1f9100f078f09066bd88bcc7a450e44e01229841 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6d7c90717a639b36e452097095af597810e64c6d (diff) |
Create SystemApi for statsd ready broadcast
The statsd ready broadcast needs to be sent from statsd apex with
Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND flag that is @hide and cannot be
promoted to @SystemApi.
In R, this was worked around by getting the list of registered broadcast
receivers and sending them directed broadcasts to wake them up in
ag/10404099.
However, this is inefficient if there are multiple receivers so this
change creates a SystemApi for sending the actual broadcast with the
flag as recommended in ag/10404099 after it was submitted.
Bug: 150746848
Test: m
Test: flash
Test: ensure broadcast is received via logcat
CTS-Coverage-Bug: 184014462
Change-Id: I5103d8c6e87bdb47930cb7457731050da3d8e566
Merged-In: I5103d8c6e87bdb47930cb7457731050da3d8e566
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions