diff options
author | Gavin Corkery <gavincorkery@google.com> | 2019-11-20 15:40:45 +0000 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2019-12-02 15:31:56 +0000 |
commit | 84e99020aa7be6067ded85c979bad91dde77e340 (patch) | |
tree | cb9fff9b9c1f38dbfb11562bf3e3a745600e9032 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b39135098a51e17b4793bc2d0cb7d196a1089e3b (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions