aboutsummaryrefslogtreecommitdiff
path: root/src/com/android/tv/modules/TvApplicationModule.java
diff options
context:
space:
mode:
authornchalko <nchalko@google.com>2018-12-20 19:41:40 -0800
committerNick Chalko <nchalko@google.com>2019-01-10 15:25:18 -0800
commitecfbc1c4a3db168211533ce1ab6c96fea5bb3871 (patch)
treee82e5f305064e3309acf2bb1bce897e38fdfd19a /src/com/android/tv/modules/TvApplicationModule.java
parentd58696e48c8e41124d0588be74ead9981bcdd0ec (diff)
downloadTV-ecfbc1c4a3db168211533ce1ab6c96fea5bb3871.tar.gz
Start using dagger
PiperOrigin-RevId: 226432380 Change-Id: Iab2e96b9091482d4b1bb76c43250515ed103efa6 Test: m LiveTv
Diffstat (limited to 'src/com/android/tv/modules/TvApplicationModule.java')
-rw-r--r--src/com/android/tv/modules/TvApplicationModule.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/android/tv/modules/TvApplicationModule.java b/src/com/android/tv/modules/TvApplicationModule.java
new file mode 100644
index 00000000..d2831937
--- /dev/null
+++ b/src/com/android/tv/modules/TvApplicationModule.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2018 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.android.tv.modules;
+
+import com.android.tv.MainActivity;
+import com.android.tv.TvApplication;
+import dagger.Module;
+
+/** Dagger module for {@link TvApplication}. */
+@Module(includes = {TvSingletonsModule.class, MainActivity.Module.class})
+public class TvApplicationModule {}