Removing unnecessary SafeClosable requirement from DaggerSingletonObject
Test: presubmit Bug: 361850561 Flag: EXEMPT dagger Change-Id: I453159be83e92eee92f5a18cfe0d3ea9a3123f47
This commit is contained in:
@@ -29,7 +29,7 @@ import java.util.function.Function;
|
||||
* We should delete this class at the end and use @Inject to get dagger provided singletons.
|
||||
*/
|
||||
|
||||
public class DaggerSingletonObject<T extends SafeCloseable> {
|
||||
public class DaggerSingletonObject<T> {
|
||||
private final Function<LauncherAppComponent, T> mFunction;
|
||||
|
||||
public DaggerSingletonObject(Function<LauncherAppComponent, T> function) {
|
||||
|
||||
Reference in New Issue
Block a user