diff options
author | Dave Mankoff <mankoff@google.com> | 2020-08-18 16:32:58 -0400 |
---|---|---|
committer | Dave Mankoff <mankoff@google.com> | 2020-08-18 16:32:58 -0400 |
commit | 776f978fe0f16313109171d52a110ce8f69842f4 (patch) | |
tree | 22ff1929c1f4418915d7d3322843d85fd36c2700 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e9fffe1c792f8c465c480ea39265b117e6260a17 (diff) |
Prevent dagger from hanging onto DozeService
Evidently, dagger hangs on to classes marked with @Reusable. This is
not desirable for DozeService. Instead, institute a better fix
which is binding an interface implementation into its subcomponent,
which is the part that needs DozeService to exist.
We can't bind DozeService directly as Dagger complains that you can't
bind classes that already exist in a parent scope. Binding an interface
implementation, however, works well.
Fixes: 165208002
Test: manual
Change-Id: Iae061d636b6e4bdc8bc6a03e9c7daf900610d19f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions