summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorGavin Corkery <gavincorkery@google.com>2019-11-20 15:40:45 +0000
committerGavin Corkery <gavincorkery@google.com>2019-12-02 15:31:56 +0000
commit84e99020aa7be6067ded85c979bad91dde77e340 (patch)
treecb9fff9b9c1f38dbfb11562bf3e3a745600e9032 /tools/aapt2/java/JavaClassGenerator.cpp
parentb39135098a51e17b4793bc2d0cb7d196a1089e3b (diff)
Allow registration of observers without specifying packages
This is a prerequisite for integrating RescueParty into PackageWatchdog. Currently, an observer may only be registered for an existing ObserverInternal, and the only way to add an ObserverInternal to mAllObservers is to supply a set of packages. Observers are pruned if they do not contain any packages. Change this by adding a method to the PackageHealthObserver interface to indicate whether an observer may process failures without an explicit set of packages to monitor. Test: atest PackageWatchdogTest Bug: 136135457 Change-Id: Ic97f5d9892af949fe5bbc71ecf4b429f569964e9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions