Removes unused LoggingApi and references.

PiperOrigin-RevId: 242629890
Change-Id: I768ccb48819b20752eb8852f53b14caa91928e12
diff --git a/src/main/java/com/google/android/libraries/feed/api/scope/FeedProcessScope.java b/src/main/java/com/google/android/libraries/feed/api/scope/FeedProcessScope.java
index d11f128..3bf3c78 100644
--- a/src/main/java/com/google/android/libraries/feed/api/scope/FeedProcessScope.java
+++ b/src/main/java/com/google/android/libraries/feed/api/scope/FeedProcessScope.java
@@ -55,7 +55,6 @@
 import com.google.android.libraries.feed.host.config.DebugBehavior;
 import com.google.android.libraries.feed.host.imageloader.ImageLoaderApi;
 import com.google.android.libraries.feed.host.logging.BasicLoggingApi;
-import com.google.android.libraries.feed.host.logging.LoggingApi;
 import com.google.android.libraries.feed.host.network.NetworkClient;
 import com.google.android.libraries.feed.host.offlineindicator.OfflineIndicatorApi;
 import com.google.android.libraries.feed.host.proto.ProtoExtensionProvider;
@@ -85,7 +84,6 @@
 public final class FeedProcessScope implements Dumpable {
   private static final String TAG = "FeedProcessScope";
 
-  private final LoggingApi loggingApi;
   private final NetworkClient networkClient;
   private final ProtocolAdapter protocolAdapter;
   private final RequestManager requestManager;
@@ -125,7 +123,6 @@
         context,
         actionApi,
         imageLoaderApi,
-        loggingApi,
         protocolAdapter,
         sessionManager,
         threadUtils,
@@ -148,7 +145,6 @@
 
   /** Created through the {@link Builder}. */
   private FeedProcessScope(
-      LoggingApi loggingApi,
       BasicLoggingApi basicLoggingApi,
       NetworkClient networkClient,
       ProtocolAdapter protocolAdapter,
@@ -169,7 +165,6 @@
       FeedExtensionRegistry feedExtensionRegistry,
       ClearAllListener clearAllListener,
       TooltipSupportedApi tooltipSupportedApi) {
-    this.loggingApi = loggingApi;
     this.basicLoggingApi = basicLoggingApi;
     this.networkClient = networkClient;
     this.protocolAdapter = protocolAdapter;
@@ -277,7 +272,6 @@
     // Required fields.
     private final Configuration configuration;
     final ExecutorService singleThreadExecutor;
-    private final LoggingApi loggingApi;
     private final BasicLoggingApi basicLoggingApi;
     private final TooltipSupportedApi tooltipSupportedApi;
     private final NetworkClient unwrappedNetworkClient;
@@ -307,7 +301,6 @@
     public Builder(
         Configuration configuration,
         ExecutorService singleThreadExecutor,
-        LoggingApi loggingApi,
         BasicLoggingApi basicLoggingApi,
         NetworkClient networkClient,
         SchedulerApi schedulerApi,
@@ -317,7 +310,6 @@
         TooltipSupportedApi tooltipSupportedApi) {
       this.configuration = configuration;
       this.singleThreadExecutor = singleThreadExecutor;
-      this.loggingApi = loggingApi;
       this.basicLoggingApi = basicLoggingApi;
       this.debugBehavior = debugBehavior;
       this.context = context;
@@ -550,7 +542,6 @@
       ClearAllListener clearAllListener =
           new ClearAllListener(taskQueue, sessionManager, store, threadUtils, lifecycleListener);
       return new FeedProcessScope(
-          loggingApi,
           basicLoggingApi,
           networkClient,
           Validators.checkNotNull(protocolAdapter),
diff --git a/src/main/java/com/google/android/libraries/feed/api/scope/FeedStreamScope.java b/src/main/java/com/google/android/libraries/feed/api/scope/FeedStreamScope.java
index f2c1a9d..4ddae42 100644
--- a/src/main/java/com/google/android/libraries/feed/api/scope/FeedStreamScope.java
+++ b/src/main/java/com/google/android/libraries/feed/api/scope/FeedStreamScope.java
@@ -36,7 +36,6 @@
 import com.google.android.libraries.feed.host.config.DebugBehavior;
 import com.google.android.libraries.feed.host.imageloader.ImageLoaderApi;
 import com.google.android.libraries.feed.host.logging.BasicLoggingApi;
-import com.google.android.libraries.feed.host.logging.LoggingApi;
 import com.google.android.libraries.feed.host.offlineindicator.OfflineIndicatorApi;
 import com.google.android.libraries.feed.host.stream.CardConfiguration;
 import com.google.android.libraries.feed.host.stream.SnackbarApi;
@@ -65,7 +64,6 @@
         Context context,
         ActionApi actionApi,
         ImageLoaderApi imageLoaderApi,
-        LoggingApi loggingApi,
         ProtocolAdapter protocolAdapter,
         SessionManager sessionManager,
         ThreadUtils threadUtils,
@@ -87,7 +85,6 @@
       this.context = context;
       this.actionApi = actionApi;
       this.imageLoaderApi = imageLoaderApi;
-      this.loggingApi = loggingApi;
       this.protocolAdapter = protocolAdapter;
       this.sessionManager = sessionManager;
       this.threadUtils = threadUtils;
@@ -181,9 +178,6 @@
     private final ActionApi actionApi;
     private final ImageLoaderApi imageLoaderApi;
 
-    @SuppressWarnings("unused")
-    private final LoggingApi loggingApi;
-
     private final ProtocolAdapter protocolAdapter;
     private final SessionManager sessionManager;
     private final ThreadUtils threadUtils;
diff --git a/src/main/java/com/google/android/libraries/feed/hostimpl/logging/BUILD b/src/main/java/com/google/android/libraries/feed/hostimpl/logging/BUILD
deleted file mode 100644
index 6963bad..0000000
--- a/src/main/java/com/google/android/libraries/feed/hostimpl/logging/BUILD
+++ /dev/null
@@ -1,11 +0,0 @@
-package(default_visibility = ["//visibility:public"])
-
-licenses(["notice"])  # Apache 2
-
-java_library(
-    name = "logging",
-    srcs = glob(["*.java"]),
-    deps = [
-        "//src/main/java/com/google/android/libraries/feed/host/logging",
-    ],
-)
diff --git a/src/main/java/com/google/android/libraries/feed/hostimpl/logging/LoggingApiImpl.java b/src/main/java/com/google/android/libraries/feed/hostimpl/logging/LoggingApiImpl.java
deleted file mode 100644
index a8f4889..0000000
--- a/src/main/java/com/google/android/libraries/feed/hostimpl/logging/LoggingApiImpl.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2018 The Feed Authors.
-//
-// 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.google.android.libraries.feed.hostimpl.logging;
-
-import com.google.android.libraries.feed.host.logging.LoggingApi;
-
-/** Concrete impl for {@link LoggingApi} */
-public final class LoggingApiImpl implements LoggingApi {
-  // TODO: define the implementation
-}
diff --git a/src/test/java/com/google/android/libraries/feed/api/scope/FeedProcessScopeTest.java b/src/test/java/com/google/android/libraries/feed/api/scope/FeedProcessScopeTest.java
index 1088e59..8d386b5 100644
--- a/src/test/java/com/google/android/libraries/feed/api/scope/FeedProcessScopeTest.java
+++ b/src/test/java/com/google/android/libraries/feed/api/scope/FeedProcessScopeTest.java
@@ -33,7 +33,6 @@
 import com.google.android.libraries.feed.host.config.Configuration.ConfigKey;
 import com.google.android.libraries.feed.host.config.DebugBehavior;
 import com.google.android.libraries.feed.host.logging.BasicLoggingApi;
-import com.google.android.libraries.feed.host.logging.LoggingApi;
 import com.google.android.libraries.feed.host.network.NetworkClient;
 import com.google.android.libraries.feed.host.proto.ProtoExtensionProvider;
 import com.google.android.libraries.feed.host.scheduler.SchedulerApi;
@@ -54,8 +53,8 @@
 /** Tests for {@link FeedProcessScope}. */
 @RunWith(RobolectricTestRunner.class)
 public class FeedProcessScopeTest {
+
   // Mocks for required fields
-  @Mock private LoggingApi loggingApi;
   @Mock private BasicLoggingApi basicLoggingApi;
   @Mock private NetworkClient networkClient;
   @Mock private SchedulerApi schedulerApi;
@@ -85,7 +84,6 @@
         new Builder(
                 configuration,
                 MoreExecutors.newDirectExecutorService(),
-                loggingApi,
                 basicLoggingApi,
                 networkClient,
                 schedulerApi,
@@ -119,7 +117,6 @@
         new FeedProcessScope.Builder(
                 configuration,
                 MoreExecutors.newDirectExecutorService(),
-                loggingApi,
                 basicLoggingApi,
                 networkClient,
                 schedulerApi,
@@ -151,7 +148,6 @@
         new FeedProcessScope.Builder(
                 configuration,
                 MoreExecutors.newDirectExecutorService(),
-                loggingApi,
                 basicLoggingApi,
                 networkClient,
                 schedulerApi,
@@ -176,7 +172,6 @@
         new FeedProcessScope.Builder(
                 configuration,
                 MoreExecutors.newDirectExecutorService(),
-                loggingApi,
                 basicLoggingApi,
                 networkClient,
                 schedulerApi,
@@ -201,7 +196,6 @@
         new FeedProcessScope.Builder(
                 configuration,
                 MoreExecutors.newDirectExecutorService(),
-                loggingApi,
                 basicLoggingApi,
                 networkClient,
                 schedulerApi,
@@ -221,7 +215,6 @@
         new Builder(
                 configuration,
                 MoreExecutors.newDirectExecutorService(),
-                loggingApi,
                 basicLoggingApi,
                 networkClient,
                 schedulerApi,
diff --git a/src/test/java/com/google/android/libraries/feed/api/scope/FeedStreamScopeTest.java b/src/test/java/com/google/android/libraries/feed/api/scope/FeedStreamScopeTest.java
index 91e8a9b..6ed872b 100644
--- a/src/test/java/com/google/android/libraries/feed/api/scope/FeedStreamScopeTest.java
+++ b/src/test/java/com/google/android/libraries/feed/api/scope/FeedStreamScopeTest.java
@@ -43,7 +43,6 @@
 import com.google.android.libraries.feed.host.config.DebugBehavior;
 import com.google.android.libraries.feed.host.imageloader.ImageLoaderApi;
 import com.google.android.libraries.feed.host.logging.BasicLoggingApi;
-import com.google.android.libraries.feed.host.logging.LoggingApi;
 import com.google.android.libraries.feed.host.offlineindicator.OfflineIndicatorApi;
 import com.google.android.libraries.feed.host.stream.CardConfiguration;
 import com.google.android.libraries.feed.host.stream.SnackbarApi;
@@ -66,7 +65,6 @@
   // Mocks for required fields
   @Mock private ActionApi actionApi;
   @Mock private ImageLoaderApi imageLoaderApi;
-  @Mock private LoggingApi loggingApi;
   @Mock private TooltipSupportedApi tooltipSupportedApi;
 
   // Mocks for optional fields
@@ -114,7 +112,6 @@
                 context,
                 actionApi,
                 imageLoaderApi,
-                loggingApi,
                 protocolAdapter,
                 sessionManager,
                 threadUtils,
@@ -145,7 +142,6 @@
                 context,
                 actionApi,
                 imageLoaderApi,
-                loggingApi,
                 protocolAdapter,
                 sessionManager,
                 threadUtils,